/* Custom Styles for Stolivon Free Social Online Casino - Enhanced Edition */

/* Color Palette: Dark Green and Red with Enhanced Accents */
:root {
  --primary-green: #0a4d3c;
  --secondary-green: #0d6b4f;
  --accent-red: #c41e3a;
  --dark-red: #8b1a2e;
  --light-green: #10ac84;
  --bg-dark: #0a1612;
  --bg-medium: #0f1f1a;
  --text-light: #e8f5e9;
  --text-gray: #b0bec5;
  --gold-accent: #ffd700;
  --glass-bg: rgba(15, 31, 26, 0.85);
  --glass-border: rgba(16, 172, 132, 0.3);
}

/* Global optimization and smooth animations */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Orbitron", sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 50%, #0a2318 100%);
  background-attachment: fixed;
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Enhanced typography with better readability */
h1,
h2,
h3,
h4,
h5,
h6,
.title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

p,
.content {
  line-height: 1.7;
  color: var(--text-gray);
  font-size: 1.05rem;
}

/* Enhanced cookie banner with better z-index management */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  padding: 1.5rem 0;
  z-index: 998; /* Lower than modal (9999) to not block games */
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--light-green);
  display: none;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner.show {
  display: block;
}

.cookie-text {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
}

/* Enhanced header with glassmorphism effect */
.site-header {
  background: rgba(10, 29, 18, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--secondary-green);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
  background: transparent !important;
  padding: 0.5rem 0;
}

/* Text-based logo styling */
.logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--light-green) 0%, var(--gold-accent) 50%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(16, 172, 132, 0.5);
  transition: all 0.3s ease;
}

.logo-text:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.navbar-item {
  color: var(--text-light) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.8rem 1.2rem !important;
}

.navbar-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--light-green));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-item:hover::before {
  width: 80%;
}

.navbar-item:hover {
  color: var(--light-green) !important;
  background: rgba(13, 107, 79, 0.2) !important;
}

.navbar-burger span {
  background-color: var(--text-light);
  height: 3px;
}

/* Stunning hero sections with parallax effect */
.hero-home {
  background: linear-gradient(rgba(10, 29, 18, 0.75), rgba(15, 31, 26, 0.85)),
    url("/placeholder.svg?height=800&width=1600");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 77, 60, 0.4) 100%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, #0a2318 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(255, 255, 255, 0.02) 30px,
    rgba(255, 255, 255, 0.02) 31px
  );
  animation: slide 30s linear infinite;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(16, 172, 132, 0.15) 0%, transparent 70%);
}

@keyframes slide {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-title {
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 172, 132, 0.4);
  font-size: 3.5rem !important;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  color: var(--text-gray);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Enhanced buttons with better effects */
.button.is-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--dark-red) 100%);
  border: none;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.button.is-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.button.is-primary:hover::before {
  width: 300px;
  height: 300px;
}

.button.is-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(196, 30, 58, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--dark-red) 0%, var(--accent-red) 100%);
}

.button.is-success {
  background: var(--light-green);
  color: var(--bg-dark);
  font-weight: 600;
}

.button.is-danger {
  background: var(--accent-red);
  color: var(--text-light);
  font-weight: 600;
}

.cta-button {
  font-size: 1.2rem !important;
  padding: 1.5rem 3rem !important;
  animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(196, 30, 58, 0.7);
  }
}

/* Beautiful glassmorphism cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 45px rgba(16, 172, 132, 0.4), 0 0 50px rgba(16, 172, 132, 0.2), inset 0 1px 0
    rgba(255, 255, 255, 0.1);
  border-color: var(--light-green);
}

.card-content {
  color: var(--text-light);
  padding: 2rem;
}

.feature-card .icon-wrapper {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Game Cards */
.game-card,
.game-preview-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 29, 18, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-image::after {
  opacity: 1;
}

.card-image img {
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.game-card .card-content,
.game-preview-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card .button,
.game-preview-card .button {
  margin-top: auto;
}

/* Enhanced sections with better spacing */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section-title {
  color: var(--text-light);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--gold-accent), var(--light-green));
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.5);
}

.has-text-centered .section-title {
  width: 100%;
}

.why-section {
  background: radial-gradient(circle at 20% 50%, rgba(10, 77, 60, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 50%);
}

.popular-games-section {
  background: rgba(15, 31, 26, 0.3);
  position: relative;
}

.popular-games-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

.events-section {
  background: radial-gradient(circle at 80% 20%, rgba(10, 77, 60, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(196, 30, 58, 0.15) 0%, transparent 50%);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, #0a2318 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.02) 20px,
    rgba(255, 255, 255, 0.02) 40px
  );
  animation: slide 20s linear infinite;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.cta-title {
  color: var(--text-light);
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(16, 172, 132, 0.5);
}

/* Event List */
.event-list {
  list-style: none;
  padding: 0;
}

.event-list li {
  padding: 0.75rem 0;
  font-size: 1.15rem;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.event-list li:hover {
  color: var(--light-green);
  transform: translateX(10px);
}

/* Team Cards */
.team-card {
  text-align: center;
}

.team-card .image {
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  width: 200px;
  height: 200px;
  border: 3px solid var(--glass-border);
  transition: all 0.3s ease;
}

.team-card:hover .image {
  border-color: var(--light-green);
  box-shadow: 0 0 30px rgba(16, 172, 132, 0.5);
}

/* Mission Cards */
.mission-card {
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 77, 60, 0.4) 0%, rgba(13, 107, 79, 0.3) 100%);
  border: 2px solid var(--glass-border);
}

/* Event Type Cards */
.event-type-card {
  height: 100%;
}

.event-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--secondary-green);
}

.event-details p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

/* Enhanced timeline with better visuals */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--light-green), var(--accent-red));
  box-shadow: 0 0 10px rgba(16, 172, 132, 0.5);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  animation: fadeInLeft 0.6s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  position: absolute;
  left: -3.75rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light-green);
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 15px rgba(16, 172, 132, 0.6);
  z-index: 2;
}

.timeline-marker.is-primary {
  background: var(--light-green);
}

.timeline-marker.is-success {
  background: var(--accent-red);
  box-shadow: 0 0 15px rgba(196, 30, 58, 0.6);
}

.timeline-marker.is-info {
  background: var(--gold-accent);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--light-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 25px rgba(16, 172, 132, 0.3);
}

/* FAQ */
.faq-card {
  margin-bottom: 1rem;
}

.faq-card .card-header {
  cursor: pointer;
  background: rgba(10, 77, 60, 0.4);
  transition: all 0.3s ease;
  padding: 1.25rem;
}

.faq-card .card-header:hover {
  background: rgba(13, 107, 79, 0.6);
}

.faq-content {
  display: none;
  background: rgba(15, 31, 26, 0.6);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.faq-content.active {
  display: block;
}

.faq-icon {
  margin-right: 1rem;
  transition: transform 0.3s ease;
  display: inline-block;
  color: var(--light-green);
  font-size: 1.2rem;
}

.faq-card.active .faq-icon {
  transform: rotate(90deg);
  color: var(--accent-red);
}

/* Contact */
.contact-info-card {
  background: linear-gradient(135deg, rgba(10, 77, 60, 0.5) 0%, rgba(13, 107, 79, 0.4) 100%);
  position: sticky;
  top: 100px;
  border: 2px solid var(--glass-border);
}

.contact-method {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(16, 172, 132, 0.2);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateX(5px);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method a {
  color: var(--light-green);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-method a:hover {
  color: var(--gold-accent);
}

.icon-wrapper-contact {
  margin-bottom: 1rem;
}

.icon-large {
  font-size: 3rem;
}

.contact-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
}

.input,
.textarea,
.select select {
  background: rgba(10, 29, 18, 0.9);
  border: 2px solid var(--secondary-green);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--light-green);
  box-shadow: 0 0 0 0.25em rgba(16, 172, 132, 0.25);
  background: rgba(10, 29, 18, 1);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-gray);
  opacity: 0.7;
}

.label {
  color: var(--text-light);
  font-weight: 600;
}

.help {
  color: var(--text-gray);
}

.checkbox {
  color: var(--text-light);
}

/* Quick Link Boxes */
.quick-link-box {
  background: rgba(10, 77, 60, 0.3);
  border: 2px solid var(--glass-border);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.quick-link-box:hover {
  background: rgba(13, 107, 79, 0.4);
  transform: translateY(-5px);
  border-color: var(--light-green);
  box-shadow: 0 8px 25px rgba(16, 172, 132, 0.3);
}

/* Blog */
.featured-article {
  margin-bottom: 3rem;
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .button {
  margin-top: auto;
}

.newsletter-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, #0a2318 100%);
}

.newsletter-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 3px solid var(--light-green);
  box-shadow: 0 8px 32px rgba(16, 172, 132, 0.3);
}

/* Tags */
.tag {
  border-radius: 6px;
  font-weight: 600;
  padding: 0.5em 0.85em;
}

.tag.is-primary {
  background: var(--accent-red);
  color: var(--text-light);
}

.tag.is-info {
  background: var(--light-green);
  color: var(--bg-dark);
}

.tag.is-success {
  background: var(--secondary-green);
  color: var(--text-light);
}

.tag.is-warning {
  background: var(--gold-accent);
  color: var(--bg-dark);
}

/* Enhanced footer with gradient */
.site-footer {
  background: linear-gradient(to bottom, var(--bg-medium), var(--bg-dark));
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--accent-red), var(--gold-accent), var(--light-green)) 1;
  color: var(--text-gray);
  padding: 3rem 1.5rem 2rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-green);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-green);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Game Modal with proper z-index */
.modal {
  display: none;
  position: fixed;
  z-index: 9999; /* Highest z-index to always be on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
}

.modal.is-active {
  display: flex;
}

.modal-background {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.game-modal-content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 10000;
}

.game-modal-content .box {
  background: var(--bg-dark);
  padding: 0;
  border: 3px solid var(--light-green);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(16, 172, 132, 0.4);
}

#gameContainer {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 12px;
  overflow: hidden;
}

#gameFrame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.modal-close {
  background: var(--accent-red);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--dark-red);
  transform: rotate(90deg);
}

/* Thank You Page */
.thank-you-hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, #0a2318 100%);
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
}

.icon-huge {
  font-size: 6rem;
  display: block;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Why Games Section */
.why-games-section {
  background: radial-gradient(circle at 30% 50%, rgba(10, 77, 60, 0.15) 0%, transparent 50%);
}

.icon-box {
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.icon-box:hover {
  transform: scale(1.05);
}

.icon-text {
  font-size: 3rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

/* How To Section */
.how-to-section {
  background: rgba(15, 31, 26, 0.3);
}

.step-item {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--light-green);
  transition: all 0.3s ease;
}

.step-item:hover {
  border-color: var(--accent-red);
  transform: translateX(10px);
}

/* Different Section */
.different-section {
  background: radial-gradient(circle at 70% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 50%);
}

/* Mission Section */
.mission-section {
  background: rgba(15, 31, 26, 0.4);
}

/* Upcoming Section */
.upcoming-section {
  background: rgba(15, 31, 26, 0.3);
}

/* Quick Links Section */
.quick-links-section {
  background: radial-gradient(circle at 50% 50%, rgba(10, 77, 60, 0.15) 0%, transparent 70%);
}

/* Optimized responsive design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem !important;
  }

  .hero-subtitle {
    font-size: 1.3rem !important;
  }

  .section {
    padding: 3rem 1rem;
  }

  .cta-button {
    font-size: 1rem !important;
    padding: 1.2rem 2rem !important;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-marker {
    left: -2.75rem;
    width: 20px;
    height: 20px;
  }

  .contact-info-card {
    position: static;
    margin-bottom: 2rem;
  }

  .logo-text {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  p,
  .content {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .logo-text {
    font-size: 1.2rem;
  }

  .navbar-item {
    padding: 0.6rem 1rem !important;
  }
}

/* Performance optimizations */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Notification Styles */
.notification {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--light-green);
  color: var(--text-light);
  border-radius: 12px;
}

.notification.is-info {
  border-color: var(--light-green);
  box-shadow: 0 4px 20px rgba(16, 172, 132, 0.3);
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--light-green);
  outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .cookie-banner,
  .site-header,
  .site-footer,
  .button {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
