/* ==================== */
/* ULTRA MODERN THEME   */
/* ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --neon-cyan: #00f0ff;
    --neon-pink: #ff006e;
    --neon-purple: #8b5cf6;
    --dark-bg: #0a0e27;
    --dark-card: rgba(15, 23, 42, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-gray: #94a3b8;
}

/* ==================== */
/* GLOBAL STYLES        */
/* ==================== */

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* ==================== */
/* ANIMATED BACKGROUND  */
/* ==================== */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s ease-in-out infinite;
}

.particles::before {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.particles::after {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(100px, -100px) rotate(120deg); }
    66% { transform: translate(-100px, 100px) rotate(240deg); }
}

/* ==================== */
/* HERO SECTION         */
/* ==================== */

.hero-section {
    text-align: center;
    padding: 40px 20px;
}

/* ==================== */
/* BRAND & LOGO         */
/* ==================== */

.brand {
    margin-bottom: 60px;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6)); }
    50% { filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.8)); }
}

.slogan {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==================== */
/* COUNTDOWN TIMER      */
/* ==================== */

.countdown-container {
    display: flex;
    justify-content: center;
    margin: 80px 0;
    perspective: 1000px;
}

.countdown-circle {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px 70px;
    box-shadow: 
        0 8px 32px 0 rgba(0, 240, 255, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.countdown-circle:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.glow-effect {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan));
    border-radius: 42px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    animation: rotateBorder 4s linear infinite;
    background-size: 200% 200%;
}

@keyframes rotateBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: scale(1.05);
}

.countdown-number {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

.countdown-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 15px;
}

/* ==================== */
/* SUBTITLE             */
/* ==================== */

.subtitle {
    margin: 50px 0;
}

.subtitle p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ==================== */
/* MESSAGE SECTION      */
/* ==================== */

.message-section {
    margin: 60px auto;
    max-width: 800px;
    perspective: 1000px;
}

.message-box {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px 60px;
    box-shadow: 
        0 8px 32px 0 rgba(0, 240, 255, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.message-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px 0 rgba(0, 240, 255, 0.25),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

.message-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 32px;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.5s ease;
}

.message-box:hover::before {
    opacity: 0.3;
}

.quote-icon {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    opacity: 0.5;
}

.quote-icon.fa-quote-left {
    float: left;
    margin: -10px 20px 0 0;
}

.quote-icon.fa-quote-right {
    float: right;
    margin: 0 0 -10px 20px;
}

.message-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-white);
    text-align: center;
    font-style: italic;
    margin: 0;
    clear: both;
}

/* ==================== */
/* CONTACT SECTION      */
/* ==================== */

.contact-section {
    margin: 70px auto;
    max-width: 650px;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    padding: 55px 50px;
    box-shadow: 
        0 8px 32px 0 rgba(0, 240, 255, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.5s ease;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 37px;
    opacity: 0.2;
    z-index: -1;
    filter: blur(15px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px 0 rgba(0, 240, 255, 0.25),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

/* Subscription Area */
.subscription-area {
    margin-bottom: 40px;
}

.section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    text-align: center;
}

.subscribe-form {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--text-gray);
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.btn-subscribe {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-subscribe:hover::before {
    left: 100%;
}

.btn-subscribe:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.4);
}

.subscribe-message {
    min-height: 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    margin-top: 15px;
    text-align: center;
}

.subscribe-message.success {
    color: var(--neon-cyan);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.subscribe-message.error {
    color: var(--neon-pink);
    font-weight: 600;
}

/* Signature Area */
.signature-area {
    margin: 35px 0;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.signature-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    background: linear-gradient(135deg, var(--neon-cyan), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* Social Area */
.social-area {
    margin-top: 35px;
}

.social-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--neon-cyan);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    color: var(--text-white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

/* ==================== */
/* FOOTER               */
/* ==================== */

.footer {
    text-align: center;
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ==================== */
/* ANIMATIONS           */
/* ==================== */

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.15s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.fade-in-delay-2-5 {
    animation: fadeInUp 0.8s ease-out 0.375s backwards;
}

.fade-in-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.45s backwards;
}

.fade-in-delay-4 {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.fade-in-delay-5 {
    animation: fadeInUp 0.8s ease-out 0.75s backwards;
}

.fade-in-delay-6 {
    animation: fadeInUp 0.8s ease-out 0.9s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== */
/* SPARKLE EFFECT       */
/* ==================== */

@keyframes sparkleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0);
    }
}

.countdown-circle {
    position: relative;
}

/* ==================== */
/* RESPONSIVE DESIGN    */
/* ==================== */

@media screen and (max-width: 768px) {
    .brand-logo {
        max-width: 450px;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
    
    .countdown-circle {
        padding: 40px 25px;
    }
    
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .countdown-number {
        font-size: 2.8rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .subtitle p {
        font-size: 1.2rem;
    }
    
    .message-box {
        padding: 35px 30px;
    }
    
    .message-text {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .quote-icon {
        font-size: 1.2rem;
    }
    
    .contact-card {
        padding: 40px 30px;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-subscribe {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
    }
    
    .signature-text {
        font-size: 1.1rem;
    }
    
    .social-icons {
        gap: 18px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .brand-logo {
        max-width: 350px;
    }
    
    .slogan {
        font-size: 0.95rem;
    }
    
    .countdown-circle {
        padding: 30px 20px;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .countdown-item {
        padding: 15px 10px;
    }
    
    .message-box {
        padding: 25px 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .section-heading {
        font-size: 1.4rem;
    }
    
    .signature-text {
        font-size: 1rem;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .message-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .quote-icon {
        font-size: 1rem;
    }
}

/* ==================== */
/* LOADING STATE        */
/* ==================== */

body.loaded {
    animation: pageLoad 0.8s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
