/* SOS TRADER - Style & Luxury Theme */

/* Custom CSS Variables */
:root {
    --bg-dark: #050508;
    --bg-darker: #020204;
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-light: #f3e5ab;
    --orange: #f15a29;
    --orange-glow: rgba(241, 90, 41, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #6b6b76;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(212, 175, 55, 0.08);
    --glass-border-hover: rgba(212, 175, 55, 0.25);
    --font-heading: 'Poppins', sans-serif;
    --font-sans: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.15;
    animation: pulseGlow 10s infinite alternate ease-in-out;
}

.glow-gold {
    top: -10%;
    right: 15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

.glow-orange {
    bottom: -15%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.12;
    }
    100% {
        transform: scale(1.2) translate(30px, -20px);
        opacity: 0.22;
    }
}

/* Main Container Layout */
.main-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 1.5rem;
    background: radial-gradient(circle at 50% 30%, transparent 10%, var(--bg-darker) 90%);
}

/* Header & Logo styling */
.header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-container {
    padding: 1.5rem;
    border-radius: 20px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.01) 0%, transparent 80%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container:hover {
    transform: scale(1.03);
}

.logo-img {
    min-height: 200px;
    height: auto;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(241, 90, 41, 0.25));
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container:hover .logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 35px rgba(241, 90, 41, 0.4));
}

/* Main Content Area */
.content-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tagline-container {
    margin-bottom: 1.2rem;
}

.tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gold);
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    padding: 0.5rem 2rem;
    border-radius: 30px;
    border-left: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    text-shadow: 0 0 8px var(--gold-glow);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--gold-light) 65%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255,255,255,0.05);
}

.description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 2.8rem;
}

/* Countdown Section */
.countdown-section {
    width: 100%;
    margin-bottom: 3.5rem;
    perspective: 1000px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.countdown-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    min-width: 100px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.countdown-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px 0 rgba(212, 175, 55, 0.08);
}

.countdown-number {
    font-family: var(--font-sans);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 75%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.countdown-divider {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.6;
    animation: flash 1.5s infinite alternate ease-in-out;
}

@keyframes flash {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

/* Subscription Form Section */
.subscription-section {
    width: 100%;
    max-width: 520px;
    margin-bottom: 1rem;
}

.subscribe-form {
    width: 100%;
}

.input-group {
    display: flex;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 0.35rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

.input-group input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    width: 60%;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #b28e20 100%);
    border: none;
    outline: none;
    color: var(--bg-darker);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateX(2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

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

.form-message {
    font-size: 0.85rem;
    margin-top: 0.8rem;
    min-height: 20px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.form-message.success {
    color: #4cd137;
}

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

/* Footer & Contact Section */
.footer {
    width: 100%;
    max-width: 1200px;
    margin-top: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
}

.contact-section {
    width: 100%;
    max-width: 650px;
}

.contact-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.email-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.email-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.email-card:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-hover);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 4px 15px rgba(212,175,55,0.06);
}

.email-icon {
    font-size: 0.95rem;
    color: var(--gold);
    transition: color 0.3s ease;
}

.email-card:hover .email-icon {
    color: var(--orange);
}

.email-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    font-weight: 400;
}

/* Tooltip style */
.copy-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(212, 175, 55, 0.95);
    color: var(--bg-darker);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(212, 175, 55, 0.95) transparent transparent transparent;
}

.email-card:hover .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.email-card.copied .copy-tooltip {
    background: #4cd137;
    color: #ffffff;
}

.email-card.copied .copy-tooltip::after {
    border-color: #4cd137 transparent transparent transparent;
}

.footer-bottom {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.5rem;
    width: 100%;
}

/* Responsive Scaling styles */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 2rem 1rem;
    }
    
    .logo-img {
        min-height: 140px;
        height: auto;
    }
    
    .main-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2.2rem;
    }
    
    .countdown-container {
        gap: 0.5rem;
    }
    
    .countdown-card {
        padding: 0.8rem 1.2rem;
        min-width: 75px;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }
    
    .countdown-divider {
        font-size: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.8rem;
    }
    
    .input-group input {
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid var(--glass-border);
        border-radius: 30px;
        padding: 0.8rem 1.5rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 0.9rem 0;
        border-radius: 30px;
    }
    
    .email-cards {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    
    .email-card {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .countdown-card {
        padding: 0.6rem 0.8rem;
        min-width: 65px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
}
