/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
    --bg-green-dark: #002618;
    --bg-green-base: #00422A;
    --bg-green-light: #005737;
    
    --brand-orange: #D74A21;
    --brand-orange-hover: #b93c17;
    --brand-yellow: #FBC02D;
    
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-faint: rgba(255, 255, 255, 0.45);
    
    --glass-bg: rgba(0, 20, 12, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-green-dark);
    font-family: var(--font-body);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Glow Backgrounds */
.ambient-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.glow-1 {
    top: 10%;
    left: 15%;
    background-color: var(--bg-green-light);
}

.glow-2 {
    bottom: 10%;
    right: 15%;
    background-color: var(--brand-orange);
}

/* ==========================================================================
   Main Glass Card Layout
   ========================================================================== */
.container-custom {
    max-width: 900px;
    width: 100%;
}

.main-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.main-card:hover {
    box-shadow: 0 25px 60px rgba(0, 66, 42, 0.25);
}

/* ==========================================================================
   Header Section
   ========================================================================== */
.logo-wrapper {
    display: inline-block;
}

.logo-img {
    max-height: 54px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.reg-text {
    font-family: var(--font-heading);
    font-size: 8.5px;
    font-weight: 500;
    color: var(--text-faint);
    letter-spacing: 0.8px;
    margin: 0;
    text-transform: uppercase;
}

/* ==========================================================================
   Banner Section
   ========================================================================== */
.banner-frame {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color 0.3s ease;
}

.banner-frame:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.banner-img {
    transition: transform 0.5s ease;
}

.banner-frame:hover .banner-img {
    transform: scale(1.015);
}

/* ==========================================================================
   Countdown Section
   ========================================================================== */
.section-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.countdown-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 5px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.countdown-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.countdown-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

.countdown-label {
    display: block;
    font-family: var(--font-body);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-yellow);
    font-weight: 500;
    margin-top: 2px;
}

/* ==========================================================================
   Subscription Form Section
   ========================================================================== */
.form-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
}

.form-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.subscribe-form-el .input-group-custom {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form-el .input-group-custom:focus-within {
    border-color: var(--brand-orange);
    box-shadow: 0 0 10px rgba(215, 74, 33, 0.2);
}

.subscribe-form-el .form-control {
    border: none;
    box-shadow: none;
    font-size: 13.5px;
    padding: 10px 15px;
}

.subscribe-form-el .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.subscribe-form-el .form-control:focus {
    background: transparent;
    color: var(--text-white);
}

.subscribe-form-el .btn-submit {
    border-radius: 30px !important;
    background: var(--brand-orange);
    border: none;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.subscribe-form-el .btn-submit:hover {
    background-color: var(--brand-orange-hover);
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(215, 74, 33, 0.4);
}

.subscribe-form-el .btn-submit:active {
    transform: scale(0.98);
}

.invalid-feedback {
    font-size: 11px;
    color: #ff5252;
    padding-left: 15px;
}

.alert-success {
    background: rgba(25, 135, 84, 0.15);
    border: 1px solid rgba(25, 135, 84, 0.3);
    color: #4cd137;
    font-size: 13px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.address-text {
    font-size: 9.5px;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
}

.footer-link {
    color: var(--brand-yellow);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-link:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* Social Media Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--text-white);
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(215, 74, 33, 0.3);
}

/* ==========================================================================
   Responsive Breakpoints & Adjustments
   ========================================================================== */
@media (min-width: 768px) {
    .countdown-num {
        font-size: 34px;
    }
    
    .countdown-label {
        font-size: 9px;
    }
    
    .reg-text {
        font-size: 9.5px;
        letter-spacing: 1px;
    }
    
    .address-text {
        font-size: 10px;
    }
}

@media (max-width: 767.98px) {
    .main-card {
        padding: 24px 16px !important;
        border-radius: 12px;
    }
    
    .logo-img {
        max-height: 44px;
    }
    
    .reg-text {
        font-size: 8px;
        letter-spacing: 0.5px;
        line-height: 1.4;
    }
    
    .countdown-box {
        padding: 8px 2px;
    }
    
    .countdown-num {
        font-size: 20px;
    }
    
    .countdown-label {
        font-size: 7px;
        letter-spacing: 0.5px;
    }
    
    .subscribe-form-el .input-group-custom {
        border-radius: 30px;
    }
    
    .subscribe-form-el .btn-submit {
        padding: 12px;
        font-size: 13.5px;
    }
}
