/* ============================================
   DontTap Homepage Styles
   Award-winning design with glass-morphism and animations
   ============================================ */

/* Home Page Body Override */
.home-page {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Main Container */
.home-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    gap: 30px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.game-title {
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -2px;
}

.title-dont {
    color: #fff;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
}

.title-tap {
    color: var(--color-primary);
    text-shadow:
        0 0 20px rgba(100, 181, 246, 0.5),
        0 0 40px rgba(100, 181, 246, 0.3);
}

/* Removed pulsing animation for refined look */

.tagline {
    color: #a0aec0;
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin: 15px 0 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Quick Access Bar
   ============================================ */
.quick-access {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.quick-btn:hover {
    background: #21262d;
    border-color: var(--color-border-hover);
}

.quick-btn:active {
    background: #30363d;
}

.quick-icon {
    font-size: 18px;
}

.quick-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Auth button variations */
.auth-quick-btn.logged-in {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(244, 96, 255, 0.2);
}

.auth-quick-btn.rank-one {
    border-color: #ffd700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4) !important;
}

.auth-quick-btn.rank-one .quick-label {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ============================================
   Mode Selection Cards
   ============================================ */
.mode-selection {
    display: flex;
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.mode-card {
    position: relative;
    width: 280px;
    padding: 40px 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(100, 181, 246, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mode-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-hover);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.mode-card:hover::before {
    opacity: 1;
}

.mode-card:active {
    transform: translateY(-2px);
}

/* Frenzy Card Accent - Warm Amber */
.frenzy-card:hover {
    border-color: #FFA726;
}

.frenzy-card .mode-icon {
    background: linear-gradient(135deg, #FB8C00, #FFA726);
    box-shadow: 0 4px 20px rgba(255, 167, 38, 0.25);
}

/* Pattern Card Accent - Cool Teal */
.pattern-card:hover {
    border-color: #26C6DA;
}

.pattern-card .mode-icon {
    background: linear-gradient(135deg, #00ACC1, #26C6DA);
    box-shadow: 0 4px 20px rgba(38, 198, 218, 0.25);
}

.mode-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border-radius: 50%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mode-card:hover .mode-icon {
    transform: scale(1.05);
}

.mode-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.mode-desc {
    font-size: 14px;
    color: #a0aec0;
    margin: 0;
    line-height: 1.6;
}

/* Glow effect overlay */
.mode-glow {
    display: none;
    /* Removed for refined look */
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 700px) {
    .home-container {
        padding: 30px 15px;
        gap: 25px;
    }

    .mode-selection {
        flex-direction: column;
        gap: 20px;
    }

    .mode-card {
        width: 100%;
        max-width: 320px;
        padding: 30px 25px;
    }

    .quick-access {
        flex-wrap: wrap;
        justify-content: center;
    }

    .quick-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .quick-label {
        display: none;
    }

    .quick-icon {
        font-size: 22px;
    }
}

/* ============================================
   Animations for Mode Cards
   ============================================ */
.frenzy-card {
    animation: cardEnter 0.6s ease-out 0.7s both;
}

.pattern-card {
    animation: cardEnter 0.6s ease-out 0.85s both;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}