/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C5F8D;
    --secondary-color: #D4AF37;
    --accent-color: #1E88E5;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --gradient-start: #0f2027;
    --gradient-mid: #203a43;
    --gradient-end: #2c5364;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 12px 24px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    position: relative;
}

/* Background Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 95, 141, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 136, 229, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Floating Background Elements */
.floating-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.float-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 70%;
    animation-delay: 5s;
}

.float-element:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 80%;
    left: 20%;
    animation-delay: 10s;
}

.float-element:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 80%;
    animation-delay: 15s;
}

.float-element:nth-child(5) {
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.4;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Logo Section */
.logo-section {
    text-align: center;
    padding: 2rem 0;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Content */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

/* Title */
.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.title-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.title-sub {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

/* Tagline */
.tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Description */
.description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    min-width: 100px;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-medium);
}

.countdown-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Notify Section */
.notify-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.notify-title {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.notify-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    transition: all 0.3s ease;
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #b8941f 0%, var(--secondary-color) 100%);
}

.notify-btn:active {
    transform: translateY(0);
}

.notify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.notify-btn:hover .btn-icon {
    transform: translateX(5px);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* Social Section */
.social-section {
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.social-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.social-handle {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-out 1.4s both;
}

.footer-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .logo {
        max-width: 150px;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }

    .notify-form {
        flex-direction: column;
    }

    .email-input {
        min-width: 100%;
    }

    .notify-btn {
        width: 100%;
        justify-content: center;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.75rem;
    }

    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 70px;
    }

    .countdown-value {
        font-size: 1.75rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .floating-elements,
    .background-overlay {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
