.button-wave {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: button-wave 0.3s cubic-bezier(0.4,0,0.2,1);
}
select#language, select#mode {
  background: linear-gradient(135deg, #181c24 0%, #232b38 100%) !important;
  color: #b6ffb3 !important;
}
select#language, select#mode {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border-radius: 6px;
  padding-right: 36px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  width: 100%;
  box-sizing: border-box;
}
select#language:hover, select#mode:hover,
select#language:focus, select#mode:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px #00ff88aa, 0 0 10px #39ff1466 inset;
}
select#language {
  background-image: linear-gradient(45deg, transparent 50%, #39ff14 50%), linear-gradient(135deg, #39ff14 50%, transparent 50%);
}
select#mode {
  background-image: linear-gradient(45deg, transparent 50%, #00fff7 50%), linear-gradient(135deg, #00fff7 50%, transparent 50%);
}
select#language option, select#mode option { color: #b6ffb3; background: #232b38; }
select#language option, select#mode option {
  background: #232b38 !important;
  color: #b6ffb3 !important;
}
select#language:focus, select#mode:focus {
  outline: 2px solid #39ff1444;
}
select, select option {
  background: linear-gradient(135deg, #181c24 0%, #232b38 100%) !important;
  color: #b6ffb3 !important;
}
select:focus {
  outline: 2px solid #39ff1444;
}
select::-webkit-dropdown-list, select::-webkit-list-box, select option {
  background: linear-gradient(135deg, #181c24 0%, #232b38 100%) !important;
  color: #b6ffb3 !important;
}
select:-moz-focusring, select option {
  background: linear-gradient(135deg, #181c24 0%, #232b38 100%) !important;
  color: #b6ffb3 !important;
}
select#language, select#language option {
  background: linear-gradient(135deg, #181c24 0%, #232b38 100%) !important;
  color: #b6ffb3 !important;
}
select#language:focus, select#language option:checked, select#language option:focus {
  background: #232b38 !important;
  color: #39ff14 !important;
}
select#language, select#language option {
  background: linear-gradient(135deg, #181c24 0%, #232b38 100%) !important;
  color: #b6ffb3 !important;
}
body {
  font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
  background: linear-gradient(135deg, #181c24 0%, #232b38 100%);
  color: #b6ffb3;
  box-shadow: 0 0 20px #39ff1422 inset;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
}
.matrix-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 600px) {
  body {
    padding: 0;
    min-height: 100vh;
    font-size: 0.95rem;
  }
  .container {
    max-width: 98vw;
    padding: 1rem;
    border-radius: 0;
    box-shadow: none;
  }
  .lang-switcher {
    top: 8px;
    right: 8px;
  }
  h1 {
    font-size: 1.3rem;
  }
  button, select, input[type="number"], input[type="text"], input[type="number"] {
    font-size: 1rem;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
  }
}
input[type="number"] {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  font-size: 1rem;
  border: 2px solid #39ff1444;
  border-radius: 5px;
  background: #232b38;
  color: #b6ffb3;
  box-shadow: 0 0 6px #39ff1444 inset;
  font-family: inherit;
  text-align: center;
}
.container {
  background: rgba(24,28,36,0.97);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px #39ff1444, 0 0 40px #00fff744 inset;
  max-width: 400px;
  width: 100%;
  border: 2px solid #39ff1444;
  animation: border-flicker 2.5s infinite alternate;
  position: relative;
  z-index: 2;
}
@keyframes border-flicker {
  0% { box-shadow: 0 0 20px #39ff1444, 0 0 40px #00fff744 inset; border-color: #39ff1444; }
  50% { box-shadow: 0 0 40px #39ff14, 0 0 80px #00fff7 inset; border-color: #39ff14; }
  100% { box-shadow: 0 0 20px #39ff1444, 0 0 40px #00fff744 inset; border-color: #39ff1444; }
}
h1 {
  text-align: center;
  color: #b6ffb3;
  text-shadow: 0 0 6px #39ff1444, 0 0 12px #00fff744;
  font-size: 2.2rem;
  letter-spacing: 2px;
  animation: flicker 2s infinite alternate;
}
label {
  display: block;
  margin: 10px 0;
  color: #7de2d1;
  text-shadow: 0 0 3px #00fff744;
  width: 100%;
  box-sizing: border-box;
}
.result {
  width: 100%;
  min-height: 8em;
  height: 5.5em;
  margin-top: 10px;
  font-size: 1rem;
  border: 2px solid #39ff1444;
  border-radius: 5px;
  background: #232b38;
  color: #b6ffb3;
  box-shadow: 0 0 6px #39ff1444 inset, 0 0 12px #39ff1444;
  font-family: inherit;
  word-break: break-all;
  box-sizing: border-box;
  animation: neon-pulse 2s infinite alternate;
  white-space: pre-line;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes neon-pulse {
  0% { box-shadow: 0 0 6px #39ff1444 inset, 0 0 12px #39ff1444; }
  50% { box-shadow: 0 0 16px #39ff14 inset, 0 0 32px #39ff14; }
  100% { box-shadow: 0 0 6px #39ff1444 inset, 0 0 12px #39ff1444; }
}
button {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  background: linear-gradient(90deg, #39ff1444 0%, #00fff744 100%);
  color: #39ff14;
  border: 2px solid #39ff1444;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 6px #39ff1444, 0 0 12px #00fff744;
  font-family: inherit;
  transition: background 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
}
@keyframes button-wave {
  0% { width: 0; height: 0; opacity: 0.8; }
  60% { width: 180px; height: 180px; opacity: 0.5; }
  80% { width: 320px; height: 320px; opacity: 0.3; }
  100% { width: 480px; height: 480px; opacity: 0; }
}
#password-options {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#password-options label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
}
button:hover {
  background: linear-gradient(90deg, #00fff744 0%, #39ff1444 100%);
  color: #b6ffb3;
  text-shadow: 0 0 6px #39ff1444;
}
@keyframes flicker {
  0% { opacity: 1; text-shadow: 0 0 4px #39ff1444, 0 0 8px #00fff744; }
  50% { opacity: 0.85; text-shadow: 0 0 8px #39ff1444, 0 0 16px #00fff744; }
  100% { opacity: 1; text-shadow: 0 0 4px #39ff1444, 0 0 8px #00fff744; }
}
.floating-boxes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 5;
}
.info-box {
  position: absolute;
  width: 120px;
  height: 100px;
  background: rgba(24,28,36,0.9);
  border: 2px solid #39ff1444;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px #39ff1422, 0 0 25px #00fff722 inset;
  backdrop-filter: blur(8px);
  animation: gentleFloat 4s ease-in-out infinite;
  z-index: 100;
}
.info-box:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px #39ff14, 0 0 45px #00fff7 inset;
  border-color: #39ff14;
}
.box-icon {
  font-size: 22px;
  margin-bottom: 6px;
  filter: grayscale(100%) brightness(2);
}
.box-title {
  color: #39ff14;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 5px #39ff1444;
  letter-spacing: 0.4px;
  line-height: 1;
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.info-box:nth-child(1) { animation-delay: 0s; }
.info-box:nth-child(2) { animation-delay: 0.5s; }
.info-box:nth-child(3) { animation-delay: 1s; }
.info-box:nth-child(4) { animation-delay: 1.5s; }
#security-box { top: 10%; left: 5%; }
#tips-box { top: 10%; right: 5%; }
#faq-box { top: 25%; left: 5%; }
#threats-box { top: 25%; right: 5%; }
#guide-2024-box { top: 40%; left: 5%; }
#advanced-mgmt-box { top: 40%; right: 5%; }
#enterprise-box { top: 55%; left: 5%; }
#research-box { top: 55%; right: 5%; }
#privacy-box { top: 70%; left: 5%; }
#terms-box { top: 70%; right: 5%; }
#security-box { animation-delay: 0s; }
#tips-box { animation-delay: 0.2s; }
#faq-box { animation-delay: 0.4s; }
#threats-box { animation-delay: 0.6s; }
#guide-2024-box { animation-delay: 0.8s; }
#advanced-mgmt-box { animation-delay: 1s; }
#enterprise-box { animation-delay: 1.2s; }
#research-box { animation-delay: 1.4s; }
#privacy-box { animation-delay: 1.6s; }
#terms-box { animation-delay: 1.8s; }
#faq-extended-box { animation-delay: 1.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(-5px) rotate(0deg); }
  75% { transform: translateY(-15px) rotate(-1deg); }
}
.content-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.content-modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: rgba(24,28,36,0.98);
  border: 2px solid #39ff14;
  border-radius: 16px;
  max-width: 800px;
  max-height: 80vh;
  width: 90%;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 50px #39ff14, 0 0 100px #00fff7 inset;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.content-modal.active .modal-content {
  transform: scale(1);
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #39ff14;
  font-size: 30px;
  cursor: pointer;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
  z-index: 1001;
}
.close-btn:hover {
  color: #ff4444;
  text-shadow: 0 0 10px #ff4444;
  transform: rotate(90deg);
}
.modal-body {
  padding: 40px 30px 30px 30px;
  color: #b6ffb3;
  line-height: 1.6;
}
.modal-body h2 {
  color: #39ff14;
  text-shadow: 0 0 8px #39ff1444;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 1px;
  border-bottom: 2px solid #39ff1444;
  padding-bottom: 0.5rem;
}
.modal-body h3 {
  color: #00fff7;
  text-shadow: 0 0 6px #00fff744;
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem 0;
  letter-spacing: 0.5px;
}
.modal-body p {
  margin-bottom: 1rem;
  text-align: justify;
}
.modal-body ul {
  margin: 1rem 0;
  padding-left: 2rem;
}
.modal-body li {
  margin-bottom: 0.5rem;
  color: #b6ffb3;
}
.modal-body strong {
  color: #39ff14;
  text-shadow: 0 0 3px #39ff1444;
}
.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(35,43,56,0.7);
  border-radius: 8px;
  border-left: 4px solid #39ff1444;
}
.faq-item h3 {
  margin-top: 0;
  color: #7de2d1;
}
.hidden-content {
  display: none;
}
@media screen and (max-width: 768px) {
  .floating-boxes .info-box[style] {
    position: static !important;
    width: 120px !important;
    height: 100px !important;
    margin: 10px !important;
    display: inline-flex !important;
    animation: gentleFloat 4s ease-in-out infinite !important;
    box-shadow: 0 0 20px #39ff1444 !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  .floating-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 15px;
  }
  .floating-boxes {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 30px 20px !important;
    padding: 20px !important;
    background: rgba(24,28,36,0.3) !important;
    border-radius: 15px !important;
    border: 1px solid #39ff1444 !important;
  }
  .floating-boxes .box-icon {
    font-size: 30px !important;
    margin-bottom: 5px !important;
  }
  .floating-boxes .box-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    text-shadow: 0 0 8px currentColor !important;
  }
  .modal-content {
    width: 95%;
    max-height: 85vh;
  }
  .modal-body {
    padding: 30px 20px 20px 20px;
  }
  .modal-body h2 {
    font-size: 1.5rem;
  }
  .modal-body h3 {
    font-size: 1.2rem;
  }
  .faq-item {
    padding: 1rem;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .info-box {
    width: 120px;
    height: 100px;
  }
  .box-icon {
    font-size: 20px;
  }
  .box-title {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .floating-boxes::before {
    content: "ℹ️";
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(24,28,36,0.9);
    border: 1px solid #39ff1444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    pointer-events: all;
    z-index: 10;
    box-shadow: 0 0 15px #39ff1444;
  }
}
.content-section {
  display: none;
}
.ad-container {
  margin: 30px 0;
  padding: 20px;
  text-align: center;
  background: rgba(35,43,56,0.3);
  border-radius: 8px;
  border: 1px solid #39ff1422;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-container ins {
  background: transparent !important;
}
.ad-container + h3,
.ad-container + p {
  margin-top: 2rem;
}
h3 + .ad-container,
p + .ad-container {
  margin-top: 2rem;
}
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-top: 2px solid #39ff14;
  box-shadow: 0 -5px 20px rgba(57, 255, 20, 0.3);
  z-index: 1000;
  transform: translateY(calc(100% - 60px));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-footer.expanded {
  transform: translateY(0);
}
.footer-toggle {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(57, 255, 20, 0.1);
  border-bottom: 1px solid rgba(57, 255, 20, 0.3);
  transition: all 0.3s ease;
  font-family: 'Orbitron', monospace;
  color: #39ff14;
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-toggle:hover {
  background: rgba(57, 255, 20, 0.2);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}
#footer-toggle-text {
  margin-right: 10px;
  font-size: 20px;
  text-transform: uppercase;
}
#footer-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}
.site-footer.expanded #footer-arrow {
  transform: rotate(180deg);
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 30px;
  max-height: 400px;
  overflow-y: auto;
}
.footer-section {
  background: rgba(0, 255, 247, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 247, 0.2);
}
.footer-section h3 {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff744;
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0, 255, 247, 0.3);
  padding-bottom: 8px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section li {
  margin-bottom: 8px;
  color: #b6ffb3;
  font-size: 14px;
  line-height: 1.4;
}
.footer-section a {
  color: #39ff14;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}
.footer-section a:hover {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff744;
}
.footer-section p {
  color: #b6ffb3;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(57, 255, 20, 0.2);
}
.footer-bottom p {
  color: #b6ffb3;
  font-size: 12px;
  margin: 5px 0;
  line-height: 1.4;
}
.footer-bottom strong {
  color: #39ff14;
  text-shadow: 0 0 5px #39ff1444;
}
@media screen and (max-width: 768px) {
  .site-footer .footer-toggle {
    height: 70px !important;
  }
  .site-footer #footer-toggle-text {
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  .site-footer #footer-arrow {
    font-size: 18px !important;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    max-height: 350px;
  }
  .footer-section {
    padding: 15px;
  }
  .footer-section h3 {
    font-size: 1rem;
  }
  .footer-section li,
  .footer-section p {
    font-size: 13px;
  }
  .footer-bottom {
    padding: 15px;
  }
  .footer-bottom p {
    font-size: 11px;
  }
}
@media screen and (max-width: 768px) {
  body .floating-boxes .info-box[style],
  body .floating-boxes .info-box {
    position: static !important;
    width: 120px !important;
    height: 80px !important;
    margin: 10px !important;
    display: inline-flex !important;
    animation: none !important;
    box-shadow: 0 0 20px #39ff1444 !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  body .floating-boxes {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 30px 20px !important;
    padding: 20px !important;
    background: rgba(24,28,36,0.3) !important;
    border-radius: 15px !important;
    border: 1px solid #39ff1444 !important;
  }
  body .floating-boxes .box-icon,
  body .info-box .box-icon {
    font-size: 30px !important;
    margin-bottom: 5px !important;
  }
  body .floating-boxes .box-title,
  body .info-box .box-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px currentColor !important;
  }
  body .site-footer .footer-toggle {
    height: 70px !important;
  }
  body .site-footer #footer-toggle-text {
    font-size: 18px !important;
    font-weight: 800 !important;
    text-shadow: 0 0 5px #39ff1444 !important;
  }
  body .site-footer #footer-arrow {
    font-size: 20px !important;
  }
  body .modal-body h2 {
    font-size: 1.8rem !important;
    line-height: 1.4 !important;
  }
  body .modal-body h3 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
  body .modal-body p {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
  }
  body .modal-body li {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
  }
  body .modal-body strong {
    font-size: 1.1rem !important;
  }
}
#resources-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.6);
}
#resources-toggle:active {
  transform: scale(0.95);
}
.site-footer {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: calc(100% - 50px) calc(100% - 50px);
}
.site-footer:not(.expanding):not(.expanded) {
  opacity: 0;
  transform: translateY(100%) scale(0);
  pointer-events: none;
}
.site-footer.expanding,
.site-footer.expanded {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.site-footer.expanding::before,
.site-footer.expanded::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: -1;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 28, 36, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
@keyframes modalFadeOut {
  from {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}
.cookie-modal-content {
  background: linear-gradient(135deg, rgba(24, 28, 36, 0.98), rgba(40, 45, 55, 0.98));
  border: 2px solid #39ff14;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(57, 255, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: modalSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.cookie-header {
  padding: 30px 30px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(57, 255, 20, 0.2);
}
.cookie-header .cookie-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: bounce 2s infinite;
}
.cookie-header h2 {
  color: #39ff14;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}
.cookie-body {
  padding: 30px;
}
.cookie-body p {
  color: #e0e6ed;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
}
.cookie-details {
  display: grid;
  gap: 20px;
  margin-top: 25px;
}
.cookie-section {
  background: rgba(40, 45, 55, 0.4);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.cookie-section:hover {
  border-color: rgba(57, 255, 20, 0.4);
  background: rgba(40, 45, 55, 0.6);
  transform: translateY(-2px);
}
.cookie-section h4 {
  color: #39ff14;
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.cookie-section p {
  color: #b0b8c0;
  margin: 0;
  font-size: 0.9rem;
  text-align: left;
  flex: 1;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin-left: 15px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #555;
  transition: .4s;
  border-radius: 30px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
input:checked + .toggle-slider {
  background: linear-gradient(135deg, #39ff14, #00fff7);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 0 15px rgba(57, 255, 20, 0.4);
}
input:checked + .toggle-slider:before {
  transform: translateX(30px);
}
.cookie-footer {
  padding: 20px 30px 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(57, 255, 20, 0.2);
}
.cookie-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 140px;
}
.cookie-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.cookie-btn:hover::before {
  left: 100%;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, #39ff14, #00fff7);
  color: #000;
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.4);
}
.cookie-btn-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(57, 255, 20, 0.6);
}
.cookie-btn-decline {
  background: linear-gradient(135deg, #ff4757, #ff6b7a);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}
.cookie-btn-decline:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
}
.cookie-btn-save {
  background: linear-gradient(135deg, #5742f5, #8b5cf6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(87, 66, 245, 0.4);
}
.cookie-btn-save:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(87, 66, 245, 0.6);
}
@media (max-width: 768px) {
  .cookie-modal-content {
    width: 95%;
    margin: 20px;
  }
  .cookie-header {
    padding: 20px 20px 15px;
  }
  .cookie-header h2 {
    font-size: 1.5rem;
  }
  .cookie-body {
    padding: 20px;
  }
  .cookie-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .cookie-toggle {
    align-self: flex-end;
    margin-left: 0;
  }
  .cookie-footer {
    padding: 15px 20px 20px;
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    min-width: auto;
  }
}