/* CSS Variables */
:root {
    --color-primary: #4F46E5;
    --color-secondary: #F59E0B;
    --color-success: #10B981;
    --color-white: #FFFFFF;
    --color-text: #1F2937;
    --color-light: #F9FAFB;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #FFFFFF;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p, span, div, a {
    color: #FFFFFF;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 1000;
    padding: 0 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: none !important;
}

.header:hover,
.header:focus,
.header:active,
.header.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFD700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.logo:hover {
    color: #FFA500;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    align-items: center;
}

/* Force hide nav menu on mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        z-index: 1000;
        transform: translateY(-100%);
        transition: all 0.3s ease;
        text-align: center;
        align-items: center;
    }
    
    .nav-menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        right: 1rem !important;
        transform: translateY(-50%) !important;
    }
    
    /* Mobile quiz layout adjustments */
    .quiz-section {
        min-height: calc(100vh - 140px);
        padding: 6rem 1rem 8rem;
    }
    
    .quiz-container {
        min-height: 450px;
    }
    
    .question-card {
        min-height: 450px;
        padding: 0;
    }
    
    .question-header {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }
    
    .options-container {
        padding: 0 0.5rem;
        gap: 0.6rem;
        width: 100%;
        max-width: none;
    }
    
    .option-label {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .next-btn {
        margin: 1rem 1.5rem 0 1.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .progress-container {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0.8rem 1rem;
    }
}

.nav-link {
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: transparent !important;
    margin: 0 0.2rem;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    text-align: center;
}

.nav-link:hover {
    color: #FFD700 !important;
    background: transparent !important;
    border: none !important;
    transform: translateY(-1px);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-link.active {
    color: #000000;
    background: #FFD700;
    border-color: #FFD700;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 1rem;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #F3F4F6;
    opacity: 0.95;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 3px solid transparent;
    margin: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #10B981 !important;
    color: #FFFFFF !important;
    border: 3px solid #10B981 !important;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: #1F2937;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #E5E7EB;
}

/* About Section */
.about {
    padding: 8rem 0 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.8rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #FFD700;
    font-weight: 700;
}

.about-card p {
    font-size: 1rem;
    color: #E5E7EB;
    line-height: 1.5;
    margin: 0;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
}

.testimonial-title {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: default;
}

.testimonial-title:hover {
    animation: titleBounce 0.6s ease-in-out;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #FFFFFF;
}

.testimonial-author {
    color: #FFD700;
    font-weight: 700;
    font-style: normal;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-emoji {
    font-size: 1.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .author-emoji {
    transform: scale(1.3) rotate(5deg);
}

.testimonial-footer {
    text-align: center;
    margin-top: 3rem;
}

.add-fryback-btn {
    background: #10B981 !important;
    color: #FFFFFF !important;
    border: 3px solid #10B981 !important;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    display: inline-block;
}

.add-fryback-btn:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* ======================================
   GAMES/FUN ZONE SECTION
   ====================================== */
.games-zone {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.games-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.games-zone-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.games-zone .section-title {
    color: #F59E0B;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.games-zone .section-subtitle {
    color: #D1D5DB;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-tile {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 0;
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.game-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
    transition: left 0.6s;
}

.game-tile:hover::before {
    left: 100%;
}

.game-tile:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #F59E0B;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
}

.game-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
    height: 100%;
    position: relative;
    z-index: 2;
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.game-tile:hover .game-icon {
    animation: bounce 0.6s ease;
    transform: scale(1.2);
}

.game-title {
    color: #F59E0B;
    font-size: 0.269rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.game-description {
    color: #9CA3AF;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.game-tile:hover .game-description {
    color: #D1D5DB;
}

/* Tooltip styles */
.game-tile[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 24, 39, 0.95);
    color: #F59E0B;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 10;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.game-tile[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

/* Mobile responsiveness for games */
@media (max-width: 768px) {
    .games-zone {
        padding: 3rem 0;
    }
    
    .games-zone .section-title {
        font-size: 2rem;
    }
    
    .games-zone .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .game-tile {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .game-link {
        padding: 1.5rem;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .game-title {
        font-size: 0.252rem;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
    
    .game-tile[data-tooltip]:hover::after {
        bottom: -40px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ======================================
   TIC TAC TOE GAME STYLES
   ====================================== */
.tictac-section {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    min-height: calc(100vh - 140px);
    padding: 1.5rem 0;
}

.tictac-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tictac-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.tictac-subtitle {
    font-size: 1rem;
    color: #94A3B8;
    margin-bottom: 1rem;
}

.tictac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
    min-height: 400px;
}

.board-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.player-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(10px);
}

.game-header {
    text-align: center;
    padding: 2rem 0;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(245, 158, 11, 0.3);
}

.game-title {
    color: #F59E0B;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-subtitle {
    color: #D1D5DB;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.user-setup {
    max-width: 400px;
    margin: 0 auto;
}

.name-input-group {
    margin-bottom: 1.5rem;
}

.name-save-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.name-input-group label {
    color: #F59E0B;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    margin-right: 0.75rem;
}

#player-name {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    background: rgba(31, 41, 55, 0.8);
    color: #FFFFFF;
    font-size: 1rem;
    min-width: 150px;
    transition: all 0.3s ease;
}

#player-name:focus {
    outline: none;
    border-color: #F59E0B;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.symbol-selection {
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.symbol-selection.active {
    opacity: 1;
    pointer-events: all;
}

.symbol-inline-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.symbol-selection label {
    color: #F59E0B;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    flex-shrink: 0;
}

.symbol-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.symbol-btn {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(245, 158, 11, 0.5);
    background: rgba(31, 41, 55, 0.8);
    color: #F59E0B;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(245, 158, 11, 0.3);
    user-select: none;
    -webkit-user-select: none;
}

.symbol-btn:hover {
    border-color: #F59E0B;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.symbol-btn.selected {
    background: #F59E0B;
    color: #FFFFFF;
    transform: scale(1.1);
}

/* Scoreboard */
.scoreboard {
    padding: 2rem 0;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 450px;
    margin: 0 auto;
}

.score-card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
    border-color: #F59E0B;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.score-icon {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.score-info h3 {
    color: #F59E0B;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.score-number {
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 800;
}

.player-score {
    border-color: rgba(16, 185, 129, 0.5);
}

.player-score:hover {
    border-color: #10B981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.draws-score {
    border-color: rgba(156, 163, 175, 0.5);
}

.punar-score {
    border-color: rgba(239, 68, 68, 0.5);
}

.punar-score:hover {
    border-color: #EF4444;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

/* Game Section */
.game-section {
    padding: 2rem 0;
    text-align: center;
}

.game-status {
    margin-bottom: 2rem;
}

.game-status p {
    color: #D1D5DB;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: inline-block;
}

/* Tic Tac Toe Grid */
.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 240px;
    margin: 0 auto 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 12px;
    border-radius: 16px;
    border: 3px solid rgba(245, 158, 11, 0.3);
}

.grid-cell {
    width: 64px;
    height: 64px;
    background: rgba(31, 41, 55, 0.9);
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #F59E0B;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(245, 158, 11, 0.3);
    user-select: none;
    -webkit-user-select: none;
}

.grid-cell:hover:not(.occupied) {
    background: rgba(245, 158, 11, 0.2);
    border-color: #F59E0B;
    transform: scale(1.05);
}

.grid-cell.occupied {
    cursor: not-allowed;
}

.grid-cell.winner {
    background: rgba(245, 158, 11, 0.4);
    border-color: #F59E0B;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
    animation: winPulse 1s infinite;
}

.grid-cell.x-mark {
    color: #10B981;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.grid-cell.o-mark {
    color: #EF4444;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes winPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes cellPlace {
    0% { transform: scale(0) rotate(180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(90deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.grid-cell.placed {
    animation: cellPlace 0.5s ease;
}

/* Game Controls */
.game-controls {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.game-controls .btn {
    min-width: 140px;
}

.game-controls .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Share Section */
.share-section {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    width: 100%;
    max-width: 282px;
}

.share-text {
    color: #D1D5DB;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

.share-btn {
    background: linear-gradient(135deg, #F59E0B, #D97706) !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 0.36rem 0.72rem;
    font-size: 0.64rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 9px rgba(245, 158, 11, 0.4);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #FBBF24, #F59E0B) !important;
}

/* Update CSS version */

/* Save Button Small Size */
.save-btn-small {
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
    min-width: auto !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tictac-section {
        padding: 1rem 0;
    }
    
    .tictac-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tictac-title {
        font-size: 2.5rem;
    }
    
    .board-side {
        order: 2;
    }
    
    .player-side {
        order: 1;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
    }
    
    /* Mobile layout order: Name → Symbol → Game → Scores → Share */
    .player-side .name-input-group {
        order: 1;
    }
    
    .player-side .symbol-selection {
        order: 2;
    }
    
    .player-side .game-board {
        order: 3;
        margin: 1.5rem auto;
    }
    
    .player-side .score-section {
        order: 4;
    }
    
    .player-side .game-controls {
        order: 5;
    }
    
    .player-side .share-section {
        order: 6;
    }
    
    .score-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
    }
    
    .game-board {
        max-width: 280px;
        gap: 10px;
        padding: 15px;
    }
    
    .grid-cell {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 158, 11, 0.3);
        cursor: pointer;
    }
    
    .grid-cell:active {
        transform: scale(0.95);
        background: rgba(245, 158, 11, 0.3);
    }
    
    .name-save-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .name-save-row input {
        width: 100%;
    }
    
    .symbol-buttons {
        justify-content: center;
    }
    
    .symbol-btn {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 158, 11, 0.3);
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .game-controls .btn {
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .tictac-title {
        font-size: 2rem;
    }
    
    .game-board {
        max-width: 260px;
        gap: 8px;
        padding: 12px;
    }
    
    .grid-cell {
        width: 75px;
        height: 75px;
        font-size: 2rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 158, 11, 0.3);
    }
    
    .grid-cell:active {
        transform: scale(0.9);
    }
    
    .score-card {
        padding: 0.8rem;
    }
    
    .score-icon {
        font-size: 1.8rem;
    }
    
    .score-number {
        font-size: 1.3rem;
    }
    
    .symbol-btn {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .player-side {
        padding: 1rem;
    }
}

/* ======================================
   BLOG STYLES
   ====================================== */
.blog-hero {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 4rem 0 3rem;
    text-align: center;
}

.blog-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.blog-hero-subtitle {
    font-size: 1.5rem;
    color: #94A3B8;
    margin-bottom: 2rem;
}

.blog-disclaimer {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin: 0 auto;
    max-width: 600px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.blog-disclaimer p {
    color: #E5E7EB;
    margin: 0.5rem 0;
    font-size: 1rem;
}

.blogs-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 4rem 0;
    min-height: 60vh;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: #F59E0B;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.3);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-emoji {
    font-size: 4rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.blog-image-hugs {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.blog-image-office {
    background: linear-gradient(135deg, #10B981, #059669);
}

.blog-image-happy {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.blog-image-calm {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
}

.blog-image-mood {
    background: linear-gradient(135deg, #EC4899, #BE185D);
}

.blog-image-zen {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #F59E0B;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: #D1D5DB;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-meta {
    margin-bottom: 1.5rem;
}

.blog-tags {
    color: #94A3B8;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.blog-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.blog-cta {
    text-align: center;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 25px;
    padding: 3rem 2rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(10px);
}

.blog-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #F59E0B;
    margin-bottom: 1rem;
}

.blog-cta p {
    color: #D1D5DB;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.cta-link {
    color: #F59E0B;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #F59E0B;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #FBBF24;
    border-bottom-color: #FBBF24;
}

/* Mobile Responsiveness for Blogs */
@media (max-width: 768px) {
    .blog-hero {
        padding: 3rem 0 2rem;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .blog-disclaimer {
        padding: 1rem 1.5rem;
        margin: 0 1rem;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
    
    .blog-cta {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .blog-cta h3 {
        font-size: 1.6rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(15, 23, 42, 0.4) 100%);
    padding: 1.5rem 1rem;
    text-align: center;
    color: #E5E7EB;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    margin-top: auto;
}

.footer p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer p:last-child {
    font-weight: 600;
    color: #F59E0B;
    margin-top: 0.6rem;
}

/* Mobile Footer Optimization */
@media (max-width: 768px) {
    .footer {
        padding: 1rem 0.8rem;
    }
    
    .footer p {
        margin: 0.4rem 0;
        font-size: 0.85rem;
        line-height: 1.3;
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer p:last-child {
        margin-top: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 0.8rem 0.5rem;
    }
    
    .footer p {
        margin: 0.3rem 0;
        font-size: 0.8rem;
        max-width: 96%;
        line-height: 1.2;
    }
    
    .footer p:last-child {
        margin-top: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.8rem;
    color: #F59E0B;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    transform: translateX(5px);
}

.dropdown-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 2rem;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-title {
    font-weight: 600;
    font-size: 1rem;
    color: #F59E0B;
    margin-bottom: 0.2rem;
}

.dropdown-desc {
    font-size: 0.85rem;
    color: #9CA3AF;
    opacity: 0.8;
}

.dropdown-item:hover .dropdown-desc {
    color: #D1D5DB;
    opacity: 1;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(31, 41, 55, 0.9);
        border-radius: 10px;
        margin-top: 0.5rem;
        min-width: auto;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        max-height: 400px;
        padding: 1rem 0;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        justify-content: center;
        text-align: center;
    }
    
    /* Mobile dropdown arrow rotation */
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Move logo further left on mobile */
    .logo {
        margin-left: -50%;
        transform-origin: left center;
    }

    .dropdown-icon {
        font-size: 1.25rem;
        margin-right: 0.75rem;
        min-width: 1.5rem;
    }

    .dropdown-title {
        font-size: 0.9rem;
    }

    .dropdown-desc {
        font-size: 0.75rem;
    }
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: var(--transition);
}

/* Contact Form */
.contact {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
}

/* Memes Section */
.memes {
    padding: 8rem 0 5rem;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.meme-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.meme-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.meme-card:hover .meme-overlay {
    opacity: 1;
}

.meme-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.meme-card:hover .meme-image {
    transform: scale(1.05);
}

.meme-content {
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.meme-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.meme-caption {
    font-size: 1rem;
    color: #E5E7EB;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.meme-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.95);
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.meme-overlay p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Meme Animation Effects */
.meme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Animations */
@keyframes titleBounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

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

/* Hug Generator Section */
.hug-generator {
    padding: 1rem 0 3rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    min-height: auto;
    display: flex;
    align-items: center;
}

.hug-generator-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hug-generator h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-accent {
    background: #10B981;
    color: #FFFFFF;
    border: 3px solid #10B981;
    font-size: 1.1rem;
    padding: 1.5rem 3rem;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    display: inline-block;
    margin: 0.75rem;
}

.btn-accent:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.hug-display {
    margin: 1rem auto;
    max-width: 500px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hug-display.show {
    display: flex;
}

.hug-image-container {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 350px;
    height: 200px;
    display: flex;
    justify-content: center;
}

.hug-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.hug-caption {
    font-size: 1rem;
    color: #FFFFFF;
    text-align: center;
    font-style: italic;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.hug-counter {
    text-align: center;
    margin: 2rem auto 0 auto;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hug-counter p {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.counter-number {
    background: #FFD700;
    color: #1F2937;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: inline-block;
    margin: 0 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .about-card {
        padding: 1.5rem 1rem;
    }
    
    .card-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .about-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .about-card p {
        font-size: 0.9rem;
    }
    
    /* Mobile meme interactions */
    .meme-card {
        cursor: pointer;
    }
    
    .meme-overlay {
        padding: 1.5rem;
    }
    
    .meme-overlay p {
        font-size: 1rem;
    }
    /* Navigation handled above - remove duplicate */
    
    /* Duplicate quiz styles removed - handled above */
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hug-generator h2 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

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

.snack-animation {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.samosa, .chai-cup {
    font-size: 3.2rem;
    animation: bounce 2s infinite;
}

.chai-cup {
    animation-delay: 0.5s;
}

.wrap {
    font-size: 3.2rem;
    animation: bounce 2s infinite;
    animation-delay: 1s;
}

.preloader-text {
    color: #FFFFFF;
    font-size: 1.32rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    80% {
        transform: translateY(-10px);
    }
}

/* Contact Form Animations */
.summon-animation {
    display: none;
    text-align: center;
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.summon-animation.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.coffee-spinner {
    font-size: 4rem;
    animation: spinCoffee 1.5s infinite linear;
    margin-bottom: 1rem;
}

.summon-message {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFD700;
    animation: pulse 2s infinite ease-in-out;
}

.summon-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
    width: 90%;
}

.summon-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.toast-icon {
    font-size: 3rem;
    animation: bounceIn 0.8s ease-out;
}

.toast-text {
    flex: 1;
}

.toast-text strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

@keyframes spinCoffee {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

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

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); opacity: 0.8; }
    70% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Quiz Styles */
.quiz-section {
    min-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 8rem;
    position: relative;
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #FFFFFF;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.quiz-subtitle {
    font-size: 1rem;
    color: #F3F4F6;
    opacity: 0.9;
    font-style: italic;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.question-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    min-height: 550px;
    box-sizing: border-box;
}

.question-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.question-card.prev {
    opacity: 0;
    transform: translateX(-100px);
    pointer-events: none;
}

.question-header {
    text-align: center;
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.question-number {
    display: inline-block;
    background: #FFD700;
    color: #1F2937;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.4rem;
    color: #FFFFFF;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0 2.5rem;
    flex: 1;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.option-label {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-label:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.option-label:has(.option-input:checked) {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: translateY(-2px);
}

.option-input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.option-text {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.option-label::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.option-label:has(.option-input:checked)::before {
    border-color: #FFD700;
    background: #FFD700;
    box-shadow: inset 0 0 0 4px rgba(31, 41, 55, 1);
}

.option-text {
    margin-left: 2.5rem;
}

.quiz-btn {
    background: #10B981;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.quiz-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.next-btn {
    display: block;
    margin: 0 2.5rem 2rem 2.5rem;
    animation: slideUp 0.5s ease;
    flex-shrink: 0;
    align-self: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.result-card {
    text-align: center;
    padding: 3rem 2.5rem 4rem;
}

.result-header {
    margin-bottom: 2.5rem;
}

.result-title {
    font-size: 2rem;
    color: #FFD700;
    font-weight: 800;
    margin: 0;
}

.result-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.result-message {
    font-size: 1.3rem;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.restart-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.restart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-btn {
    background: #FFD700;
    color: #1F2937;
}

.contact-btn:hover {
    background: #FFA500;
    color: #1F2937;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: scale(1.1);
}

.progress-container {
    position: relative;
    width: 100%;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    box-sizing: border-box;
    text-align: center;
    z-index: 10;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 25%;
}

.progress-text {
    color: #F3F4F6;
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.scroll-to-top .scroll-text {
    display: none;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Larger scroll-to-top button on desktop */
@media (min-width: 769px) {
    .scroll-to-top {
        width: auto;
        padding: 0.8rem 1.2rem;
        border-radius: 25px;
    }
    
    .scroll-to-top .scroll-text {
        display: inline;
    }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

/* Fryback Modal Styles */
.fryback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.fryback-modal-content {
    background: rgba(31, 41, 55, 0.95);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.fryback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.fryback-modal-header h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.fryback-form .form-group {
    margin-bottom: 1.5rem;
}

.fryback-form label {
    display: block;
    color: #F3F4F6;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.fryback-form input,
.fryback-form select,
.fryback-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.fryback-form input:focus,
.fryback-form select:focus,
.fryback-form textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.fryback-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.char-counter {
    display: block;
    text-align: right;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.fryback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.fryback-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

/* Session testimonial highlighting */
.session-testimonial {
    border: 2px solid #FFD700;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
}

.session-testimonial::before {
    content: "✨ NEW";
    position: absolute;
    top: -8px;
    right: 1rem;
    background: #FFD700;
    color: #1F2937;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Fryback Success Toast */
.fryback-success-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid #10B981;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    z-index: 1001;
    transform: translateX(100%);
    transition: all 0.5s ease;
    max-width: 300px;
}

.fryback-success-toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.toast-icon {
    font-size: 1.5rem;
    animation: bounce 0.6s ease infinite alternate;
}

.toast-text {
    color: #FFFFFF;
    font-size: 0.95rem;
}

.toast-text strong {
    color: #10B981;
    display: block;
    margin-bottom: 0.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .fryback-modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .fryback-buttons {
        flex-direction: column;
    }
    
    .fryback-buttons .btn {
        width: 100%;
    }
    
    .fryback-success-toast {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* BroVentures Styles */
.broventures {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    min-height: 100vh;
    padding: 4rem 0;
    color: #FFFFFF;
}

.bro-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bro-header .section-title {
    color: #F59E0B;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bro-header .section-subtitle {
    color: #D1D5DB;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Wheel Container */
.wheel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.wheel-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.bro-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    border: 4px solid #F59E0B;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: #1F2937;
    overflow: hidden;
}

.wheel-section {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wheel-section:hover {
    filter: brightness(1.1);
    z-index: 10;
}

.wheel-section.active {
    filter: brightness(1.3);
    z-index: 15;
}

.section-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--section-color-1);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.section-label {
    display: none;
}

/* Active wheel section highlight */
.wheel-section.active {
    filter: brightness(1.5);
    z-index: 15;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
}

/* Wheel Center Button */
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.spin-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border: 4px solid #FFFFFF;
    color: #FFFFFF;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.spin-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.spin-btn:active {
    transform: scale(0.98);
}

.spin-text {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.spin-icon {
    font-size: 1rem;
}

/* Wheel pointer */
.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #F59E0B;
    z-index: 25;
}

/* Hack Display */
.hack-display {
    background: rgba(31, 41, 55, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    text-align: center;
    border: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.hack-display.highlight {
    border-color: #F59E0B;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
    transform: translateY(-5px);
}

.hack-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.hack-title {
    color: #F59E0B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hack-meme {
    color: #D1D5DB;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Bro Stats */
.bro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #F59E0B;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9CA3AF;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Bro Tips */
.bro-tips {
    background: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.bro-tips h3 {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.bro-tips ul {
    list-style: none;
    padding: 0;
}

.bro-tips li {
    color: #D1D5DB;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.bro-tips li::before {
    content: attr(data-emoji);
    position: absolute;
    left: -1rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(1800deg); }
}

.spinning {
    animation: spin 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wheel-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wheel-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .bro-header .section-title {
        font-size: 2.5rem;
    }
    
    .hack-display {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .bro-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .section-label {
        font-size: 0.6rem;
    }
    
    .spin-btn {
        width: 50px;
        height: 50px;
    }
    
    .spin-text {
        font-size: 0.5rem;
    }
}

/* Mobile responsiveness for quiz */
@media (max-width: 768px) {
    .quiz-section {
        padding: 6rem 1rem 3rem;
    }
    
    .quiz-title {
        font-size: 2rem;
    }
    
    .quiz-subtitle {
        font-size: 1.1rem;
    }
    
    .question-card {
        padding: 2rem 1.5rem;
    }
    
    .question-text {
        font-size: 1.5rem;
    }
    
    .option-label {
        padding: 1rem 1.2rem;
    }
    
    .option-text {
        font-size: 1rem;
        margin-left: 2rem;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .quiz-btn {
        width: 100%;
        max-width: 280px;
        min-height: 48px; /* Ensure touch-friendly button size */
        font-size: 1rem;
    }
    
    /* Make buttons more touch-friendly on mobile */
    .btn {
        min-height: 48px;
        touch-action: manipulation; /* Prevent double-tap zoom */
    }
    
    .option-label {
        min-height: 48px; /* Touch-friendly quiz options */
        cursor: pointer;
    }
    
    /* Improve form inputs on mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Dare2Dare Styles */
.dare2dare-section {
    min-height: calc(100vh - 160px);
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 8rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dare2dare-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.dare2dare-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.dare2dare-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B6B);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dare2dare-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Two Column Layout */
.dare2dare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    min-height: 400px;
}

.bottle-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dare-side {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Bottle Container */
.bottle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.bottle-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bottle {
    font-size: 4rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transform-origin: center center;
}

.bottle:hover {
    transform: scale(1.1);
}

.bottle-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #FFD700;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.spin-btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1F2937;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.spin-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.spin-btn:hover::before {
    left: 100%;
}

/* Placeholder for when no dare is shown */
.dare-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    padding: 2rem 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 2;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.7;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.placeholder-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFD700;
    margin: 0;
}

.placeholder-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* Dare Card */
.dare-card {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.dare-card-content {
    margin-bottom: 1.5rem;
}

.dare-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dare-instructions {
    font-size: 1rem;
    color: #F3F4F6;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.dare-icon {
    font-size: 2.5rem;
    margin: 0.8rem 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dare-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.dare-actions .btn {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

/* Dare Stats */
.dare-stats {
    text-align: center;
    margin-top: auto;
    padding-top: 1rem;
    position: relative;
    z-index: 2;
}

.dare-stats p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.dare-counter {
    font-weight: 700;
    color: #FFD700;
    font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dare2dare-section {
        padding: 6rem 1rem 1rem;
        min-height: calc(100vh - 120px);
    }
    
    .dare2dare-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .bottle-side {
        order: 1;
    }
    
    .dare-side {
        order: 2;
        min-height: auto;
    }
    
    .bottle-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .bottle {
        font-size: 3rem;
    }
    
    .dare-card,
    .dare-placeholder {
        margin: 0;
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .dare-title {
        font-size: 1.5rem;
    }
    
    .dare-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .dare-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .spin-btn {
        width: 100%;
        max-width: 280px;
        min-height: 48px;
    }
}