/* ==========================================
   Gourmet Bazar - Under Construction Stylesheet
   Theme: Premium Light Gold & Forest Green
   ========================================== */

:root {
    /* Color Palette */
    --forest-green: #0a2514;
    --emerald-green: #1c4526;
    --olive-green: #2d5a37;
    --mint-green: #eaf6ee;
    
    --gold-primary: #c5a059;
    --gold-light: #dfc38a;
    --gold-dark: #997839;
    --gold-accent: #f4e8cc;
    
    --bg-light: #faf8f5;
    --bg-cream: #f4efe2;
    --text-main: #14281b;
    --text-muted: #53695b;
    --card-bg: rgba(255, 255, 255, 0.75);
    --border-color: rgba(197, 160, 89, 0.25);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Layout & Shadow */
    --shadow-premium: 0 20px 40px rgba(10, 37, 20, 0.05), 0 1px 3px rgba(197, 160, 89, 0.1);
    --shadow-hover: 0 30px 60px rgba(10, 37, 20, 0.1), 0 2px 10px rgba(197, 160, 89, 0.15);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    line-height: 1.6;
}

/* Background Gradients & Blobs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(234, 246, 238, 0.6) 0%, rgba(250, 248, 245, 0.9) 90%);
    z-index: -2;
}

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

.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    z-index: -2;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background-color: var(--gold-primary);
    top: -10%;
    right: -5%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background-color: var(--emerald-green);
    bottom: -15%;
    left: -10%;
    animation-delay: -5s;
}

/* Container Structure */
.container {
    width: 100%;
    max-width: 900px;
    padding: 3rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

/* Header & Logo */
.header {
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease forwards;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 210px;
    height: 110px;
    /* border-radius: 50%; */
    object-fit: cover;
    /* box-shadow: 0 10px 25px rgba(28, 69, 38, 0.15), 0 0 0 4px #ffffff, 0 0 0 5px var(--gold-primary); */
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 15px 30px rgba(28, 69, 38, 0.2), 0 0 0 5px #ffffff, 0 0 0 7px var(--gold-primary);
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--forest-green);
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.brand-name span {
    color: var(--gold-primary);
    font-weight: 400;
    margin-left: 1px;
}

/* Main Content */
.main-content {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    box-shadow: var(--shadow-premium);
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    transition: var(--transition-smooth);
}

.main-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 160, 89, 0.4);
}

/* Status Badge */
.status-badge {
    background-color: var(--mint-green);
    border: 1px solid rgba(28, 69, 38, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald-green);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(197, 160, 89, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* Titles & Subtitle */
.title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    color: var(--forest-green);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.gold-text {
    color: var(--gold-dark);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.gold-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold-light);
    opacity: 0.4;
    z-index: -1;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.5rem;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 550px;
}

.time-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 16px;
    padding: 1.25rem 0.5rem;
    min-width: 90px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(10, 37, 20, 0.02);
}

.time-block:hover {
    transform: scale(1.05);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.08);
}

.time-value {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--forest-green);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.time-separator {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-primary);
    font-weight: 500;
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Subscription Form */
.subscription-form {
    width: 100%;
    max-width: 500px;
}

.input-group {
    display: flex;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(10, 37, 20, 0.15);
    border-radius: 50px;
    padding: 5px;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(10, 37, 20, 0.02);
}

.input-group:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15), inset 0 2px 4px rgba(10, 37, 20, 0.02);
}

.subscription-form input[type="email"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
    width: 100%;
}

.subscription-form input[type="email"]::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.submit-btn {
    background-color: var(--emerald-green);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold-primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn:hover {
    box-shadow: 0 4px 15px rgba(28, 69, 38, 0.3);
}

.submit-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .arrow-icon {
    transform: translateX(4px);
}

.form-message {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    min-height: 1.25rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.form-message.success {
    color: var(--emerald-green);
}

.form-message.error {
    color: #b33939;
}

/* Footer & Social Links */
.footer {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--emerald-green);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(10, 37, 20, 0.03);
}

.social-icon:hover {
    background-color: var(--emerald-green);
    color: #ffffff;
    border-color: var(--emerald-green);
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 8px 16px rgba(28, 69, 38, 0.15);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    .main-content {
        padding: 2.5rem 1.5rem;
    }
    
    .title {
        font-size: 2.25rem;
    }
    
    .countdown-container {
        gap: 0.75rem;
    }
    
    .time-block {
        min-width: 75px;
        padding: 1rem 0.25rem;
    }
    
    .time-value {
        font-size: 1.75rem;
    }
    
    .time-separator {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.85rem;
    }
    
    .logo {
        /* width: 90px; */
        height: 90px;
    }
    
    .brand-name {
        font-size: 1.75rem;
    }
    
    .countdown-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .time-separator {
        display: none;
    }
    
    .time-block {
        min-width: unset;
        width: 100%;
        padding: 0.75rem 0.1rem;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 0.75rem;
        padding: 0;
    }
    
    .input-group input[type="email"] {
        background: #ffffff;
        border: 1px solid rgba(10, 37, 20, 0.15);
        border-radius: 50px;
        padding: 0.9rem 1.5rem;
    }
    
    .input-group input[type="email"]:focus {
        border-color: var(--gold-primary);
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem;
    }
}
