:root {
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --bg-light: #f4f7fc; 
    --text-light: #344054; 
    --container-light: rgba(255, 255, 255, 0.7); 
    --border-light: rgba(167, 146, 226, 0.5); 
    --glow-light: rgba(178, 161, 237, 0.7); 
    --header-light: #6a67ce; 
    --accent-light: #8b88d7; 

    --bg-dark: #110e1b;
    --bg-dark-end: #2f233a;
    --text-dark: #e3d9d2;
    --container-dark: rgba(28, 21, 40, 0.7);
    --border-dark: rgba(228, 133, 255, 0.4);
    --glow-dark: rgba(255, 204, 128, 0.7);
    --header-dark: #ffc78e;
    --accent-dark: #e587b1;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-body);
    background: linear-gradient(45deg, var(--bg-light), #d1d9e2);
    color: var(--text-light);
    transition: background 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

main {
    flex-grow: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
}

.container {
    background-color: var(--container-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1100px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

.page-specific-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-specific-header h1, .page-specific-header h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--header-light);
    text-shadow: 0 0 5px var(--glow-light), 0 0 10px var(--glow-light);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.page-specific-header h1 {
    font-size: 3em;
    margin-bottom: 5px;
}

.page-specific-header h2 {
    font-size: 1.2em;
    color: var(--accent-light);
    margin-top: 0;
    letter-spacing: 2px;
}

.raffle-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.raffle-card {
    background-color: rgba(255,255,255,0.5);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.raffle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.raffle-card.soon {
    opacity: 0.7;
}

.raffle-card-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-light);
}

.raffle-card-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.raffle-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--header-light);
    text-shadow: 0 0 5px var(--glow-light);
    margin: 0 0 10px 0;
}

.raffle-card-content .raffle-date {
    color: var(--text-light);
    font-size: 1em;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.raffle-button {
    font-family: var(--font-heading);
    background: linear-gradient(45deg, var(--accent-light), var(--header-light));
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4);
}

.raffle-button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.6);
}

.raffle-button:disabled {
    background: #999;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.dark-mode-logo { display: none; }
body.dark-mode .light-mode-logo { display: none; }
body.dark-mode .dark-mode-logo { display: block; }


body:not(.dark-mode) .site-footer {
    background-color: #f7f1f5; 
    color: var(--text-light);  
    border-top: 2px solid var(--border-light); 
}

body:not(.dark-mode) .footer-column p {
    color: var(--text-light); 
}

body:not(.dark-mode) .footer-column h4 {
    color: var(--header-light); 
    text-shadow: 0 0 8px var(--glow-light); 
}

body:not(.dark-mode) .footer-column a {
    color: var(--text-light); 
}

body:not(.dark-mode) .footer-column a:hover {
    color: var(--header-light); 
}

body:not(.dark-mode) .social-icons a {
    color: var(--header-light); 
    border: 1px solid var(--border-light);
}

body:not(.dark-mode) .social-icons a:hover {
    background-color: var(--header-light); 
    color: #fff; 
    box-shadow: 0 0 15px var(--header-light);
}

body:not(.dark-mode) .footer-bottom {
    border-top-color: #e9e1e5; 
}

body:not(.dark-mode) .footer-bottom p {
    color: #796c7f; 
}

body.dark-mode {
    background: linear-gradient(45deg, var(--bg-dark), var(--bg-dark-end));
    color: var(--text-dark);
}
body.dark-mode .site-header, body.dark-mode .container {
    background-color: var(--container-dark);
    border-color: var(--border-dark);
}
body.dark-mode .container { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
body.dark-mode .site-title,
body.dark-mode .page-specific-header h1,
body.dark-mode .raffle-card-content h3 {
    color: var(--header-dark);
    text-shadow: 0 0 8px var(--glow-dark);
}
body.dark-mode .main-nav a { color: var(--text-dark); }
body.dark-mode .main-nav a:hover, body.dark-mode .main-nav a.active { color: var(--accent-dark); }
body.dark-mode .main-nav a::after { background-color: var(--accent-dark); }
body.dark-mode .page-specific-header h2 { color: var(--accent-dark); }
body.dark-mode .raffle-card { background-color: rgba(16, 26, 53, 0.7); border-color: var(--border-dark); }
body.dark-mode .raffle-card-image img { border-bottom-color: var(--border-dark); }
body.dark-mode .raffle-card-content .raffle-date { color: var(--text-dark); }
body.dark-mode .raffle-button { background: linear-gradient(45deg, var(--accent-dark), var(--header-dark)); box-shadow: 0 5px 15px rgba(144, 224, 239, 0.3); }
body.dark-mode .theme-toggle { background-color: rgba(0,0,0,0.2); border-color: var(--border-dark); }
body.dark-mode .theme-toggle svg { color: var(--accent-dark); }


body.dark-mode .site-footer {
    background-color: var(--container-dark);
    color: var(--text-dark);
    border-top: 2px solid var(--border-dark);
}
body.dark-mode .footer-column h4 { color: var(--header-dark); text-shadow: 0 0 8px var(--glow-dark); }
body.dark-mode .footer-column a { color: var(--text-dark); }
body.dark-mode .footer-column a:hover { color: var(--accent-dark); }
body.dark-mode .social-icons a { color: var(--header-dark); border: 1px solid var(--border-dark); }
body.dark-mode .social-icons a:hover { background-color: var(--accent-dark); color: var(--bg-dark); box-shadow: 0 0 15px var(--accent-dark); }
body.dark-mode .footer-bottom { border-top: 1px solid var(--border-dark); }
body.dark-mode .footer-bottom p { color: #aaa; }


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--header-light);
    border-radius: 5px;
    transition: all 0.3s linear;
}

body.dark-mode .menu-toggle span {
    background-color: var(--header-dark);
}

@media (max-width: 768px) {
    .page-specific-header h1 { font-size: 2.2em; }
    main { padding: 40px 15px; }
    .container { padding: 25px; }

    .menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--container-light);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; width: 100%; padding: 20px 0; gap: 0; }
    .main-nav li { text-align: center; }
    .main-nav a { padding: 15px; display: block; width: 100%; }
    body.dark-mode .main-nav { background-color: var(--container-dark); }
}

@media (max-width: 480px) {
    .raffle-cards-container {
        grid-template-columns: 1fr;
    }
    .page-specific-header h1 { font-size: 1.8em; }
    .page-specific-header h2 { font-size: 1em; }
}

body {
    font-family: var(--font-body);
    background: linear-gradient(45deg, var(--bg-light), #d1d9e2);
    color: var(--text-light);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

.container {
    background-color: var(--container-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 950px;
    position: relative;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

header { text-align: center; margin-bottom: 25px; }
header h1, header h2, .raffle-details h3, .countdown-section h3, .numbers-section h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--header-light);
    text-shadow: 0 0 5px var(--glow-light), 0 0 10px var(--glow-light);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}
header h1 { font-size: 3em; margin-bottom: 0; }
header h2 { font-size: 1.2em; color: var(--accent-light); margin-top: 5px; letter-spacing: 2px;}

.theme-toggle { position: absolute; top: 20px; right: 20px; cursor: pointer; padding: 10px; background-color: rgba(255,255,255,0.2); border-radius: 50%; display: flex; z-index: 10; border: 1px solid var(--border-light); }
.theme-toggle svg { color: var(--header-light); transition: color 0.5s ease, transform 0.3s ease; }
.theme-toggle:hover svg { transform: scale(1.1) rotate(15deg); }

.site-header {
    width: 100%;
    padding: 15px 5%;
    background-color: var(--container-light);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    position: sticky; 
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.5s ease, border-color 0.5s ease;
    flex-shrink: 0; 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--header-light);
    text-shadow: 0 0 5px var(--glow-light), 0 0 10px var(--glow-light);
    margin: 0;
    text-decoration: none;
    transition: color 0.5s, text-shadow 0.5s;
}

.logo-link {
    text-decoration: none;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none;
    color: var(--text-light);
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-light);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.site-header .theme-toggle {
    position: static;
    margin-left: 20px;
}

.site-footer {
    width: 100%;
    background-color: var(--container-dark);
    color: var(--text-dark);
    padding: 40px 5%;
    border-top: 2px solid var(--border-dark);
    transition: background-color 0.5s, color 0.5s, border-color 0.5s;
    flex-shrink: 0; 
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.footer-column h4 { font-family: var(--font-heading); color: var(--header-dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; text-shadow: 0 0 8px var(--glow-dark); }
.footer-column p, .footer-column li { font-size: 0.95em; line-height: 1.6; color: var(--text-dark); }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { color: var(--text-dark); text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-column a:hover { color: var(--accent-dark); padding-left: 5px; }
.social-icons { display: flex; gap: 15px; }
.social-icons a {
    color: var(--header-dark); border: 1px solid var(--border-dark); border-radius: 50%; width: 40px; height: 40px;
    display: flex; justify-content: center; align-items: center; transition: color 0.3s, background-color 0.3s, transform 0.3s;
}
.social-icons a:hover { background-color: var(--accent-dark); color: var(--bg-dark); transform: translateY(-3px) scale(1.1); box-shadow: 0 0 15px var(--accent-dark); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border-dark); padding-top: 20px; max-width: 1200px; margin: 0 auto; }
.footer-bottom p { margin: 0; font-size: 0.9em; color: #aaa; }




.logo-link {
    display: flex;
    align-items: center;
    gap: 15px; 
    text-decoration: none; 
}

.site-logo {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .site-logo {
    transform: scale(1.05);
}

.site-title {
    color: #333; 
    margin: 0;  
}

.dark-mode-logo {
    display: none;
}

body.dark-mode .light-mode-logo {
    display: none; 
}

body.dark-mode .dark-mode-logo {
    display: block; 
}

body.dark-mode .site-title {
    color: #FFF; 
}

.legal-note-container {
    text-align: center;
    margin-top: 25px;
    padding: 0 20px;
}

.legal-note {
    font-size: 0.8em;
    font-style: italic;
    color: #6c757d; 
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    transition: color 0.5s ease;
}

.animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden; 
    pointer-events: none; 
}

.particle {
    position: absolute;
    display: block;
    bottom: -200px; 
    background-size: contain;
    background-repeat: no-repeat;
    
    animation-name: drift;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    transition: filter 0.5s ease;
}

.particle.ticket {
    background-image: url('images/ticket.svg');
}
.particle.car {
    background-image: url('images/car.svg');
}

@keyframes drift {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}


.particle:nth-child(1) { left: 15%; width: 80px; height: 80px; animation-duration: 25s; animation-delay: -5s; }
.particle:nth-child(2) { left: 35%; width: 120px; height: 120px; animation-duration: 20s; animation-delay: -2s; }
.particle:nth-child(3) { left: 80%; width: 60px; height: 60px; animation-duration: 35s; animation-delay: -10s; }
.particle:nth-child(4) { left: 5%; width: 150px; height: 150px; animation-duration: 18s; animation-delay: -15s; }
.particle:nth-child(5) { left: 90%; width: 70px; height: 70px; animation-duration: 30s; animation-delay: -1s; }
.particle:nth-child(6) { left: 50%; width: 90px; height: 90px; animation-duration: 22s; animation-delay: -8s; }
.particle:nth-child(7) { left: 65%; width: 130px; height: 130px; animation-duration: 19s; animation-delay: -4s; }
.particle:nth-child(8) { left: 25%; width: 50px; height: 50px; animation-duration: 40s; animation-delay: -20s; }
.particle:nth-child(9) { left: 75%; width: 100px; height: 100px; animation-duration: 24s; animation-delay: -12s; }
.particle:nth-child(10) { left: 45%; width: 85px; height: 85px; animation-duration: 28s; animation-delay: -18s; }
.particle:nth-child(11) { left: 0%; width: 110px; height: 110px; animation-duration: 21s; animation-delay: -9s; }
.particle:nth-child(12) { left: 95%; width: 95px; height: 95px; animation-duration: 26s; animation-delay: -3s; }


body.dark-mode .particle {
    filter: invert(1) sepia(1) hue-rotate(195deg) saturate(5) brightness(0.9);
}



.dark-mode-logo {
  mask-image: url('images/logo2.svg');
  -webkit-mask-image: url('images/logo2.svg'); 

  mask-mode: luminance;
  -webkit-mask-mode: luminance;

  mask-size: cover;
  -webkit-mask-size: cover;
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
}

.site-title {
    margin: 0 0 2px 0;
}

.site-logo {
    transition: transform 0.3s ease, filter 0.5s ease;
    filter: drop-shadow(0 0 5px var(--glow-light));
}

body.dark-mode .site-logo {
    filter: drop-shadow(0 0 8px var(--glow-dark));
}

.logo-link:hover .site-logo {
    filter: drop-shadow(0 0 10px var(--glow-light));
}

body.dark-mode .logo-link:hover .site-logo {
    filter: drop-shadow(0 0 14px var(--glow-dark));
}



.site-slogan {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    font-size: 0.9em;
    color: var(--accent-light);
    letter-spacing: 0.5px;
    
    border-right: .15em solid var(--accent-light);

    animation: 
        typing 3.5s steps(40, end) forwards,
        
        blink-caret .75s step-end 3.5s 4 forwards;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-light); }
}

body.dark-mode .site-slogan {
    color: var(--accent-dark);
    border-right-color: var(--accent-dark);
    
    animation: 
        typing 3.5s steps(40, end) forwards,
        dark-blink-caret .75s step-end 3.5s 4 forwards;
}

@keyframes dark-blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--accent-dark); }
}

@media (max-width: 768px) {

    .particle:nth-child(n+7) {
        display: none;
    }

    /* Hacemos más pequeñas las partículas que sí se muestran */
    .particle:nth-child(1) { width: 50px; height: 50px; }
    .particle:nth-child(2) { width: 70px; height: 70px; }
    .particle:nth-child(3) { width: 40px; height: 40px; }
    .particle:nth-child(4) { width: 80px; height: 80px; }
    .particle:nth-child(5) { width: 45px; height: 45px; }
    .particle:nth-child(6) { width: 60px; height: 60px; }

    @media (prefers-reduced-motion: reduce) {
        .particle {
            animation: none;
        }
    }

    .header-container {
        gap: 15px; 
    }

    .site-logo {
        height: 45px; 
    }

    .title-container {
        justify-content: center;
    }

    .site-title {
        font-size: 1.2em; 
        margin: 0;
    }

    .site-slogan {
        display: none; 
    }

    .menu-toggle {
        display: flex; 
    }
    
    .site-header .theme-toggle {
        margin-left: auto; 
    }
    
   
    .main-nav {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--container-light);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none; 
    }

    .main-nav.active {
        display: block; 
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        gap: 0;
    }

    .main-nav li {
        text-align: center;
    }

    .main-nav a {
        padding: 15px;
        display: block;
        width: 100%;
    }

    body.dark-mode .main-nav {
        background-color: var(--container-dark);
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1em; 
    }

    .logo-link {
        gap: 10px; 
    }
}


.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
    align-items: flex-start;
}

.contact-info h3, .contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--header-light);
    margin: 0 0 15px 0;
    text-shadow: 0 0 5px var(--glow-light);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-info p {
    line-height: 1.7;
    margin-bottom: 30px;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.info-block:hover {
    border-color: var(--border-light);
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.4);
}

.info-block.soon {
    opacity: 0.6;
    cursor: default;
}

.info-block.soon:hover {
    transform: none;
    border-color: transparent;
    background-color: rgba(255, 255, 255, 0.2);
}

.info-block svg {
    width: 30px;
    height: 30px;
    color: var(--header-light);
    flex-shrink: 0;
}

.info-block h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 700;
}

.info-block span {
    font-size: 1em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background-color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 1em;
    color: var(--text-light);
    transition: all 0.3s ease;
    box-sizing: border-box; 
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 10px var(--glow-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-button {
    font-family: var(--font-heading);
    background: linear-gradient(45deg, var(--accent-light), var(--header-light));
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 1.1em;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4);
    width: 100%;
    margin-top: 10px;
}

.form-button:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.6);
}


body.dark-mode .contact-info h3, 
body.dark-mode .contact-form h3 {
    color: var(--header-dark);
    text-shadow: 0 0 8px var(--glow-dark);
    border-bottom-color: var(--border-dark);
}

body.dark-mode .info-block {
    background-color: rgba(16, 26, 53, 0.5);
}

body.dark-mode .info-block:hover {
    border-color: var(--border-dark);
    background-color: rgba(16, 26, 53, 0.8);
}

body.dark-mode .info-block.soon:hover {
    border-color: transparent;
    background-color: rgba(16, 26, 53, 0.5);
}

body.dark-mode .info-block svg {
    color: var(--header-dark);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    border-color: var(--border-dark);
    background-color: rgba(16, 26, 53, 0.7);
    color: var(--text-dark);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 10px var(--glow-dark);
}

body.dark-mode .form-button {
    background: linear-gradient(45deg, var(--accent-dark), var(--header-dark));
    box-shadow: 0 5px 15px rgba(144, 224, 239, 0.3);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    min-height: 530px; 
    position: relative; 
}

#contact-form,
#success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-grow: 1; 
}


#contact-form {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}


#contact-form.hiding {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none; 
}


#success-message {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease-in 0.3s, transform 0.5s ease-in 0.3s;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#success-message.visible {
    opacity: 1;
    transform: scale(1);
}


#success-message h2 {
    font-family: var(--font-heading);
    color: var(--header-light);
    text-shadow: 0 0 8px var(--glow-light);
    font-size: 2.2em;
    margin-top: 15px;
    margin-bottom: 10px;
}

body.dark-mode #success-message h2 {
    color: var(--header-dark);
    text-shadow: 0 0 8px var(--glow-dark);
}

#success-message p {
    font-size: 1.1em;
}


.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-light);
    box-shadow: 0 8px 25px var(--glow-light);
}

.step-icon svg {
    width: 48px;
    height: 48px;
    color: var(--header-light);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--glow-light));
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6em;
    color: var(--header-light);
    margin: 0 0 10px 0;
}

.step-content p {
    margin: 0;
    line-height: 1.6;
}


body.dark-mode .step-card {
    background-color: rgba(16, 26, 53, 0.5);
    border-color: var(--border-dark);
}

body.dark-mode .step-card:hover {
    border-color: var(--accent-dark);
    box-shadow: 0 8px 25px rgba(255, 204, 128, 0.15);
}

body.dark-mode .step-icon svg {
    color: var(--header-dark);
}

body.dark-mode .step-card:hover .step-icon svg {
    filter: drop-shadow(0 0 8px var(--glow-dark));
}

body.dark-mode .step-content h3 {
    color: var(--header-dark);
}

@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content h3 {
        font-size: 1.4em;
    }
}