/* ============================================
   RIFTBOUND TCG MARKET - COMING SOON PAGE
   Color Palette inspired by Riftbound Logo
   - Primary Gold: #C8AA6E / #F0E6D2
   - Dark Background: #010A13 / #0A1428
   - Accent: #C89B3C / #785A28
   ============================================ */

:root {
    /* Riftbound Gold Tones */
    --gold-bright: #F0E6D2;
    --gold-primary: #C8AA6E;
    --gold-dark: #C89B3C;
    --gold-deep: #785A28;
    --gold-bronze: #463714;
    
    /* Dark Background Tones */
    --bg-darkest: #010A13;
    --bg-dark: #0A1428;
    --bg-medium: #0A323C;
    --bg-accent: #1E2328;
    
    /* Additional Colors */
    --white: #F0F0F0;
    --text-muted: #A09B8C;
    
    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Rajdhani', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darkest);
    color: var(--gold-bright);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   BACKGROUND WITH BLUR EFFECT
   ============================================ */

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('https://cmsassets.rgpub.io/sanity/images/dsfx7636/news_live/4c4a4e4e4e4e4e4e4e4e4e4e4e4e4e4e4e4e4e4e-1920x1080.jpg') center center / cover no-repeat,
        linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darkest) 50%, var(--bg-medium) 100%);
    filter: blur(8px);
    transform: scale(1.1);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center top, transparent 0%, var(--bg-darkest) 70%),
        linear-gradient(180deg, rgba(1, 10, 19, 0.7) 0%, rgba(10, 20, 40, 0.85) 50%, rgba(1, 10, 19, 0.95) 100%);
}

/* ============================================
   FLOATING PARTICLES
   ============================================ */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px var(--gold-dark), 0 0 20px var(--gold-deep);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 35%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 65%; animation-delay: 3s; animation-duration: 20s; }
.particle:nth-child(6) { left: 75%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 85%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 95%; animation-delay: 1.5s; animation-duration: 15s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   LOGO SECTION
   ============================================ */

.logo-section {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.logo-frame {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold-bronze) 100%);
    border: 3px solid var(--gold-primary);
    transform: rotate(45deg);
    box-shadow: 
        0 0 30px rgba(200, 170, 110, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.logo-frame::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid var(--gold-dark);
    opacity: 0.5;
}

.logo-icon {
    transform: rotate(-45deg);
    font-size: 40px;
    color: var(--gold-bright);
    text-shadow: 0 0 20px var(--gold-dark);
}

.site-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.title-riftbound {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.title-tcg {
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.5em;
    color: var(--gold-dark);
    text-transform: uppercase;
}

/* ============================================
   COMING SOON BADGE
   ============================================ */

.coming-soon-badge {
    position: relative;
    padding: 15px 50px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.3;
    animation: shimmer 3s infinite;
}

.badge-text {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gold-bright);
    text-shadow: 0 0 20px var(--gold-dark);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
   DESCRIPTION
   ============================================ */

.description {
    text-align: center;
    max-width: 600px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */

.countdown-section {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.countdown-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-item {
    background: linear-gradient(180deg, rgba(200, 155, 60, 0.1) 0%, rgba(120, 90, 40, 0.05) 100%);
    border: 1px solid var(--gold-deep);
    padding: 20px 25px;
    min-width: 90px;
    position: relative;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1;
    text-shadow: 0 0 20px rgba(200, 170, 110, 0.5);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-top: 8px;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold-deep);
    animation: pulse 1s infinite;
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.feature-card {
    background: linear-gradient(180deg, rgba(30, 35, 40, 0.8) 0%, rgba(10, 20, 40, 0.6) 100%);
    border: 1px solid var(--gold-bronze);
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(200, 155, 60, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.feature-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.newsletter-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    gap: 0;
    background: var(--bg-accent);
    border: 2px solid var(--gold-bronze);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(200, 155, 60, 0.2);
}

.input-wrapper input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background: transparent;
    color: var(--gold-bright);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--gold-deep);
}

.input-wrapper button {
    padding: 18px 30px;
    border: none;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-deep) 100%);
    color: var(--bg-darkest);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper button:hover {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
}

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

.input-wrapper button:hover .btn-icon {
    transform: translateX(4px);
}

.newsletter-note {
    font-size: 0.8rem;
    color: var(--gold-deep);
    margin-top: 15px;
    font-style: italic;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */

.social-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-bronze);
    color: var(--gold-primary);
    transition: all 0.3s ease;
    background: rgba(30, 35, 40, 0.5);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    border-color: var(--gold-primary);
    background: var(--gold-deep);
    color: var(--bg-darkest);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(200, 155, 60, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gold-bronze);
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 1.4s backwards;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer .disclaimer {
    font-size: 0.75rem;
    color: var(--gold-deep);
    font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@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) {
    .main-content {
        padding: 30px 15px;
    }
    
    .countdown-container {
        gap: 8px;
    }
    
    .countdown-item {
        padding: 15px 18px;
        min-width: 70px;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .features-section {
        gap: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .input-wrapper button {
        justify-content: center;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo-frame {
        width: 80px;
        height: 80px;
    }
    
    .logo-icon {
        font-size: 32px;
    }
    
    .coming-soon-badge {
        padding: 12px 30px;
    }
    
    .countdown-item {
        padding: 12px 15px;
        min-width: 60px;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darkest);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-deep);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ============================================
   SELECTION STYLING
   ============================================ */

::selection {
    background: var(--gold-deep);
    color: var(--gold-bright);
}
