/* 
   PreDeposu - Home Page Styles 
   Professional, Dark & Modern Gaming Theme
*/

@import url('https://fonts.cdnfonts.com/css/valorant');

/* Core resets specific to home to ensure clean slate */
.home-main {
    font-family: 'Inter', sans-serif;
    background-color: #09090b;
    color: #f4f4f5;
    overflow-x: hidden;
}

/* Hide header spacer to allow hero background to go under transparent header */
.desktop-header-spacer {
    display: none !important;
}

/* Hide the search bar on the home page as requested */
.desktop-search-container {
    display: none !important;
}

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

.home-main a {
    text-decoration: none;
}

/* Typography & Utilities */
.accent-text {
    font-family: inherit;
    font-weight: inherit;
    color: #ff4655;
    background: linear-gradient(135deg, #ff7b86 0%, #ff4655 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section-padding {
    padding: 6rem 0;
}

.section-title-wrapper {
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #a1a1aa;
    max-width: 600px;
}

.dark-bg {
    background-color: #050505;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #ff4655;
    color: #ffffff;
    border: 1px solid #ff4655;
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.3);
}

.btn-primary:hover {
    /* Hover removed per user request */
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    /* Hover removed per user request */
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ========================================================================= */
/* HERO SECTION */
/* ========================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 25vh;
    /* Guaranteed exact distance from the top */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    /* for subtle parallax later if needed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 9, 11, 0.7) 0%, #09090b 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(9, 9, 11, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    /* Removed negative margin, relies on padding-top from parent */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 70, 85, 0.1);
    border: 1px solid rgba(255, 70, 85, 0.2);
    border-radius: 2rem;
    color: #ff4655;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-family: 'Valorant', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    /* Valorant font is usually bold by default */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #d4d4d8;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    /* Reverted back to bottom of screen since stats are pushed down */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #71717a;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* ========================================================================= */
/* STATS SECTION */
/* ========================================================================= */
.stats-section {
    position: relative;
    z-index: 5;
    margin-top: 4rem;
    /* Pushed below the hero section so it's not visible without scrolling */
    padding-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(145deg, rgba(35, 35, 40, 0.7) 0%, rgba(20, 20, 25, 0.4) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 70, 85, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.stat-card.can-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 70, 85, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 70, 85, 0.3);
    box-shadow: 0 10px 30px -10px rgba(255, 70, 85, 0.2);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 70, 85, 0.1);
    border: 1px solid rgba(255, 70, 85, 0.15);
    border-radius: 0.75rem;
    color: #ff4655;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 70, 85, 0.15);
}

.stat-info {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: #a1a1aa;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ========================================================================= */
/* GAMES BENTO SECTION */
/* ========================================================================= */
.bento-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.game-bento-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #18181b;
}

.game-bento-card.can-transition {
    transition: all 0.4s ease;
}

.game-bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.game-bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Removed scale transform to prevent images from moving on hover */

.game-bento-card:hover {
    border-color: rgba(255, 70, 85, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.game-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.2) 50%, transparent 100%);
}

.game-bento-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.game-bento-card:hover .game-bento-overlay::after {
    opacity: 1;
}

.game-bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.game-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e4e4e7;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-bento-content h3 {
    color: #ffffff;
    margin: 0;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.game-bento-card:hover .game-bento-content h3 {
    opacity: 1;
    transform: translateY(-2px);
}

.game-font-val {
    font-family: 'Valorant', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.game-font-cs {
    font-family: 'Counter-Strike', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.game-font-lol {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================================================= */
/* HOW IT WORKS SECTION */
/* ========================================================================= */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.step-card {
    flex: 1;
    background: linear-gradient(145deg, rgba(35, 35, 40, 0.7) 0%, rgba(20, 20, 25, 0.4) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 70, 85, 0.2);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.step-card.can-transition {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(40, 40, 45, 0.8) 0%, rgba(25, 25, 30, 0.5) 100%);
    border-color: rgba(255, 70, 85, 0.3);
    box-shadow: 0 20px 40px -10px rgba(255, 70, 85, 0.15);
}

.step-number {
    position: static;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #888888;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.step-number::before {
    content: "ADIM ";
}

.step-card:hover .step-number {
    color: #ff4655;
}

.step-icon {
    width: 4.5rem;
    height: 4.5rem;
    background: rgba(255, 70, 85, 0.1);
    border: 1px solid rgba(255, 70, 85, 0.3);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ff4655;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.2), inset 0 0 10px rgba(255, 70, 85, 0.1);
    transition: all 0.4s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(255, 70, 85, 0.2);
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.4), inset 0 0 15px rgba(255, 70, 85, 0.2);
    color: #ffffff;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-card p {
    font-size: 0.9375rem;
    color: #a1a1aa;
    line-height: 1.6;
}

.step-connector {
    width: 80px;
    height: 2px;
    margin: 4rem 1rem 0;
    position: relative;
    z-index: 1;
}

.step-connector .line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 70, 85, 0.5), transparent);
}

/* ========================================================================= */
/* CTA SECTION */
/* ========================================================================= */
.cta-box {
    position: relative;
    padding: 3rem 4rem;
    background: linear-gradient(145deg, rgba(30, 30, 35, 0.8) 0%, rgba(15, 15, 18, 0.9) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ff4655;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    gap: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(255, 70, 85, 0.1) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.cta-text {
    position: relative;
    z-index: 2;
    flex: 1;
}

.cta-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #ffffff;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

.cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* ========================================================================= */
/* RESPONSIVE DESIGN */
/* ========================================================================= */
@media (max-width: 1024px) {
    .bento-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-bento-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .game-bento-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* General Spacing */
    .section-padding {
        padding: 3rem 0;
    }

    .section-title-wrapper {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 15vh;
        min-height: 80vh;
    }

    .hero-content .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        font-size: 0.75rem;
    }

    /* Stats Section */
    .stats-section {
        margin-top: 2rem;
        padding-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .stat-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Games Bento Section */
    .bento-games-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 160px;
        gap: 1rem;
    }

    .game-bento-card.large,
    .game-bento-card.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .game-bento-content {
        padding: 1.2rem;
    }

    .game-font-val, .game-font-cs {
        font-size: 1.2rem;
    }
    
    .game-font-lol {
        font-size: 1.1rem;
    }

    /* How It Works Section */
    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .step-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .step-number {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .step-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.4rem;
        margin-bottom: 1rem;
        border-radius: 1rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }

    .step-connector {
        display: none;
    }

    /* CTA Section */
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        border-left: none;
        border-top: 4px solid #ff4655;
        gap: 1.5rem;
        border-radius: 1rem;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .cta-text p {
        font-size: 0.9rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .stats-grid {
        gap: 0.75rem;
    }
}