/* Reset and base styles */
:root {
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #4a2c12; /* Dark brown */
    --accent-color: #8b4513; /* Saddle brown */
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #2c1a0a 0%, #4a2c12 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    position: relative;
    z-index: 10;
}

.title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.tagline {
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-weight: 300;
}

/* Main Content */
.image-container {
    text-align: center;
    margin: 2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1000px;
    z-index: 1;
}

.cobra-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease-out;
    transform-style: preserve-3d;
}

/* Cobra Image Container */
.cobra-image-container {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
}

.cobra-image {
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cobra-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}

.collectibles {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    display: inline-block;
}

.number {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin: 1.5rem 0 3rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.number:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: 0.5s;
}

.number:hover::before {
    left: 100%;
}

.serial-text {
    font-size: 0.8em;
    color: var(--text-muted);
    margin-right: 0.5em;
    font-weight: 300;
}

.digits {
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 6px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.5s;
}

.cta-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.email-subscribe {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
}

.email-subscribe input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.email-subscribe button {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-subscribe button:hover {
    background: #e8c55f;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-link {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
}

.email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    margin-top: auto;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }
    100% {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .title {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .collectibles {
        font-size: 2.2rem;
    }
    
    .number {
        font-size: 1.5rem;
    }
    
    .cta-section, .contact {
        padding: 1.5rem;
    }
    
    .email-subscribe {
        flex-direction: column;
        border-radius: 25px;
        overflow: hidden;
    }
    
    .email-subscribe input,
    .email-subscribe button {
        width: 100%;
        padding: 1rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
