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

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #4ecdc4;
    --dark: #2d3436;
    --light: #f8f9fa;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 100vh;
    color: var(--dark);
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.3s;
}

.nav-logo i {
    margin-right: 10px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a i {
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 4rem 0 2rem;
}

.hero-content {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stats span {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Update the game-grid for 4 columns */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .game-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Keep existing game-card styles */
.game-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent, var(--primary));
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--accent, var(--primary));
}

.game-icon {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--accent, var(--primary));
}

.game-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
    font-weight: 700;
}

.game-card p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.game-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--accent, var(--primary));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.game-card:hover .game-badge {
    transform: translateX(5px);
}

/* Game Pages */
.game-container {
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: var(--shadow);
}

.game-container h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.game-container h2 i {
    margin-right: 10px;
}

.game-area {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Game-specific styles */
#scrambledWord {
    font-size: 3rem;
    letter-spacing: 10px;
    color: var(--primary);
    margin: 2rem 0;
    font-weight: 800;
}

#guessInput {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 300px;
    transition: border-color 0.3s;
}

#guessInput:focus {
    border-color: var(--primary);
    outline: none;
}

/* Sudoku */
#sudokuGrid input {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    outline: none;
    font-family: 'Inter', sans-serif;
}

#sudokuGrid input:focus {
    background: rgba(102, 126, 234, 0.1);
}

/* Sudoku specific styles */
#sudokuGrid {
    border-collapse: collapse;
    margin: 0 auto;
    background: white;
}

#sudokuGrid td {
    padding: 0 !important;
    margin: 0 !important;
}

#sudokuGrid input {
    font-family: 'Inter', sans-serif;
    caret-color: #667eea;
}

#sudokuGrid input:focus {
    background: rgba(102, 126, 234, 0.1) !important;
    box-shadow: inset 0 0 0 2px #667eea;
}

#sudokuGrid input:disabled {
    cursor: not-allowed;
}

#sudokuGrid input:not(:disabled):hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Difficulty buttons */
.diff-btn {
    transition: all 0.3s;
}

.diff-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.diff-btn:active {
    transform: scale(0.95);
}

/* Mobile responsive for Sudoku */
@media (max-width: 768px) {
    #sudokuGrid td {
        width: 40px !important;
        height: 40px !important;
    }
    
    #sudokuGrid input {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    #sudokuContainer {
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    #sudokuGrid td {
        width: 32px !important;
        height: 32px !important;
    }
    
    #sudokuGrid input {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
    
    #sudokuContainer {
        padding: 5px !important;
    }
}

/* Word Search */
#wordSearchGrid td {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}

#wordSearchGrid td:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--accent);
}

.btn-secondary:hover {
    background: #45b7aa;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
    background: rgba(0, 0, 0, 0.3);
    color: #c4b5a5;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 215, 0, 0.08);
}

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

.footer-copy {
    font-size: 0.85rem;
    color: #7a6b5e;
    margin: 0 0 0.25rem;
}

.footer-copy i {
    color: #ffd700;
    margin-right: 0.5rem;
}

.footer-note {
    font-size: 0.8rem;
    color: #7a6b5e;
    margin: 0;
}

.footer-note a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-note a:hover {
    color: #ffe44d;
    text-decoration: underline;
}

.footer-note a i {
    margin: 0 0.3rem;
    font-size: 0.7rem;
}

.footer i {
    margin-right: 8px;
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    .footer-copy {
        font-size: 0.75rem;
    }
    .footer-note {
        font-size: 0.7rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        justify-content: center;
        padding: 0.8rem;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .game-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    #scrambledWord {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    #guessInput {
        width: 200px;
        font-size: 1rem;
    }

    #wordSearchGrid td {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

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

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.2s; }
.game-card:nth-child(4) { animation-delay: 0.3s; }
.game-card:nth-child(5) { animation-delay: 0.4s; }
.game-card:nth-child(6) { animation-delay: 0.5s; }

/* Add to existing CSS */

/* ============================================
   Tic‑Tac‑Toe – Game Specific Styles
   ============================================ */

/* Game container – already defined, but we can add specific overrides */
.tic-tac-toe-container .game-area {
    min-height: auto;
}

/* Tic-Tac-Toe grid */
.tic-tac-toe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 300px;
    margin: 0 auto;
}

/* Individual cell */
.tic-tac-toe-cell {
    aspect-ratio: 1;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    font-family: 'Segoe UI', sans-serif;
    min-height: 80px;
}

.tic-tac-toe-cell:hover:not(.taken):not(.game-over) {
    background: #e9ecef;
    transform: scale(1.02);
}

.tic-tac-toe-cell.taken,
.tic-tac-toe-cell.game-over {
    cursor: default;
}

.tic-tac-toe-cell.x {
    color: #667eea;
}

.tic-tac-toe-cell.o {
    color: #ff6b6b;
}

.tic-tac-toe-cell.win-highlight {
    background: #d4edda !important;
    border-color: #28a745;
    animation: pulse 0.6s ease-in-out;
}

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

/* Tic-Tac-Toe controls row */
.tic-tac-toe-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

/* Hide computer settings in two-player mode */
.tic-tac-toe-settings.hidden {
    display: none;
}

/* Status message */
.tic-tac-toe-status {
    min-height: 2rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .tic-tac-toe-cell {
        min-height: 60px;
        font-size: 2.5rem;
    }
    .tic-tac-toe-grid {
        max-width: 240px !important;
    }
    .game-container h2 {
        font-size: 1.5rem;
    }
    .tic-tac-toe-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .tic-tac-toe-controls > div {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
}

/* Optional: make the turn display colourful */
#turnDisplay.x-turn {
    color: #667eea;
}

#turnDisplay.o-turn {
    color: #ff6b6b;
}

/* Memory Match specific */
#memoryGrid div {
    user-select: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#memoryGrid div:hover:not([style*="cursor: default"]) {
    transform: scale(1.02);
}

/* Word Search larger cells */
#wordSearchGrid td {
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
    user-select: none;
}

#wordSearchGrid td:hover {
    background: rgba(102, 126, 234, 0.1) !important;
}

/* Sudoku hint animation */
@keyframes hintPulse {
    0%, 100% { background: #ffd93d; }
    50% { background: #ff6b6b; }
}

.hint-cell {
    animation: hintPulse 0.5s ease 3;
}

/* Game grid 3x3 layout */
.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

@media (max-width: 1024px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #ticTacToeGrid div {
        font-size: 2.5rem;
    }
    
    #memoryGrid div {
        font-size: 2rem;
    }
}

/* Add to existing CSS */

/* Difficulty badges */
.difficulty-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty-easy { background: #00b894; color: white; }
.difficulty-medium { background: #fdcb6e; color: #333; }
.difficulty-hard { background: #e17055; color: white; }
.difficulty-expert { background: #6c5ce7; color: white; }
.difficulty-master { background: #fd79a8; color: white; }

/* Button sizes */
.btn-small {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}

/* Word Search specific styles */
wordList li {
    padding: 6px 10px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    transition: all 0.3s;
}

wordList li:hover {
    background: #f0f0f0;
    padding-left: 15px;
    transform: translateX(4px);
}

wordListContainer {
    min-height: 200px;
    max-height: 500px;
    overflow-y: visible;
}

wordList {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

wordList li .word-status {
    font-size: 0.8rem;
    margin-left: 8px;
    min-width: 20px;
    text-align: right;
}

wordList li.found {
    color: #00b894 !important;
    text-decoration: line-through;
    border-left-color: #00b894 !important;
    background: #f0fff4 !important;
}

progressDisplay {
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

progressDisplay.complete {
    background: #e8f8f5;
    color: #00b894 !important;
}

/* Difficulty buttons */
.diff-btn-active {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Grid responsive */
@media (max-width: 768px) {
    wordListContainer {
        min-height: 150px;
        max-height: 300px;
    }
    
    wordList li {
        font-size: 0.8rem !important;
        padding: 4px 8px !important;
    }
}

/* Responsive for 15 games */
@media (max-width: 1024px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
}

/* Game container max width */
.game-container {
    max-width: 1000px;
}

/* ===== CROSSWORD ===== */
#crosswordGrid {
    display: grid;
    gap: 2px;
    background: #ddd;
    padding: 2px;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
}
#crosswordGrid > div {
    position: relative;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    aspect-ratio: 1;
    min-width: 0;
    min-height: 0;
    transition: all 0.2s;
}
#crosswordGrid > div input {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-size: clamp(16px, 3vw, 28px);
    font-weight: bold;
    text-transform: uppercase;
    background: transparent;
    color: #667eea;
    font-family: 'Inter', sans-serif;
    outline: none;
    padding: 0;
    cursor: pointer;
}
#crosswordGrid > div .num {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #555;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

.clues-panel {
    text-align: left;
    min-width: 200px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    flex: 1;
    max-width: 300px;
}
.clues-panel h4 {
    color: #667eea;
    margin-bottom: 8px;
}
.clues-panel h4:not(:first-child) {
    margin-top: 12px;
}
.clues-panel .clue {
    padding: 4px 0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.clues-panel .clue:hover {
    background: #e9ecef;
    padding-left: 8px;
}

.crossword-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

#directionIndicator {
    font-weight: bold;
    color: #4ecdc4;
}

@media (max-width: 700px) {
    .crossword-layout {
        flex-direction: column;
        align-items: center;
    }
    .clues-panel {
        max-width: 100%;
        width: 100%;
    }
}

    /* ─── DONATE PAGE – GAMEHUB.IO ──────────────────────────────────── */
    .donate-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1.5rem 3rem;
        background: #1a1a2e;
        border-radius: 20px;
        min-height: 80vh;
        color: #e8e0d5;
        border: 1px solid rgba(255, 215, 0, 0.05);
    }

    /* ─── HERO ────────────────────────────────────────────────────── */
    .donate-hero {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 3rem;
        padding: 3rem 0 2.5rem;
        border-bottom: 2px solid rgba(255, 215, 0, 0.1);
        margin-bottom: 2.5rem;
    }

    .donate-hero-text {
        flex: 1 1 55%;
    }

    .donate-hero-text .eyebrow {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #ffd700;
        font-weight: 600;
        display: inline-block;
        background: rgba(255, 215, 0, 0.08);
        padding: 0.2rem 1rem;
        border-radius: 20px;
        margin-bottom: 0.5rem;
    }

    .donate-hero-text h1 {
        font-family: 'Poppins', 'Segoe UI', sans-serif;
        font-size: 3.2rem;
        font-weight: 700;
        color: #ffd700;
        line-height: 1.2;
        margin: 0.5rem 0 1rem;
        text-shadow: 0 2px 8px rgba(255, 215, 0, 0.1);
    }

    .donate-hero-text h1 .highlight {
        color: #fff;
        background: rgba(255, 215, 0, 0.12);
        padding: 0.1rem 0.5rem;
        border-radius: 8px;
    }

    .donate-hero-text .hero-description {
        font-size: 1.1rem;
        color: #c4b5a5;
        line-height: 1.8;
        max-width: 580px;
        margin-bottom: 1.5rem;
    }

    .donate-hero-text .trust-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .trust-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: rgba(255, 255, 255, 0.04);
        padding: 0.3rem 1rem;
        border-radius: 30px;
        font-size: 0.7rem;
        color: #c4b5a5;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .trust-chip:hover {
        background: rgba(255, 215, 0, 0.05);
        border-color: rgba(255, 215, 0, 0.15);
    }

    .trust-chip i {
        color: #ffd700;
        font-size: 0.7rem;
    }

    .donate-hero-visual {
        flex: 1 1 35%;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 200px;
        animation: floatGame 6s ease-in-out infinite;
    }

    .donate-hero-visual .game-icon {
        font-size: 7rem;
        color: #ffd700;
        opacity: 0.3;
        text-shadow: 0 0 60px rgba(255, 215, 0, 0.1);
        transition: opacity 0.3s ease;
    }

    .donate-hero-visual:hover .game-icon {
        opacity: 0.5;
    }

    @keyframes floatGame {
        0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
        50% { transform: translateY(-15px) rotate(3deg) scale(1.05); }
    }

    /* ─── GOAL CARD ────────────────────────────────────────────────── */
    .donate-orb-card {
        background: linear-gradient(145deg, #16213e, #1a1a2e);
        border-radius: 20px;
        padding: 2.5rem 2rem;
        text-align: center;
        border: 1px solid rgba(255, 215, 0, 0.08);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
        margin-bottom: 2.5rem;
        position: relative;
        overflow: hidden;
    }

    .donate-orb-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(255, 215, 0, 0.03), transparent 70%);
        animation: glowPulse 4s ease-in-out infinite;
    }

    @keyframes glowPulse {
        0%, 100% { transform: scale(1); opacity: 0.5; }
        50% { transform: scale(1.2); opacity: 1; }
    }

    .donate-orb-card .donate-heart {
        font-size: 2.8rem;
        color: #ffd700;
        margin-bottom: 0.25rem;
        position: relative;
        z-index: 1;
    }

    .donate-orb-card .goal-label {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #7a6b5e;
        font-weight: 600;
        position: relative;
        z-index: 1;
    }

    .donate-orb-card .goal-amount {
        font-size: 3.2rem;
        font-weight: 700;
        color: #ffd700;
        font-family: 'Poppins', sans-serif;
        margin: 0.2rem 0 0.25rem;
        position: relative;
        z-index: 1;
    }

    .donate-orb-card .goal-note {
        color: #7a6b5e;
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.5;
        position: relative;
        z-index: 1;
    }

    .goal-progress-bar {
        width: 100%;
        max-width: 400px;
        height: 6px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        margin: 1rem auto 0;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }

    .goal-progress-fill {
        width: 42%;
        height: 100%;
        background: linear-gradient(90deg, #ffd700, #ffe44d);
        border-radius: 10px;
        transition: width 1s ease;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    }

    /* ─── DONATION PANELS ────────────────────────────────────────── */
    .donation-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 2rem;
        margin: 2rem 0 3rem;
    }

    .donation-panel {
        background: #16213e;
        border-radius: 16px;
        padding: 2rem 2rem 2.25rem;
        border: 1px solid rgba(255, 255, 255, 0.04);
        transition: border-color 0.3s ease;
    }

    .donation-panel:hover {
        border-color: rgba(255, 215, 0, 0.08);
    }

    .donation-panel .panel-eyebrow {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #7a6b5e;
        font-weight: 600;
    }

    .donation-panel h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 1.5rem;
        color: #ffd700;
        margin: 0.2rem 0 0.4rem;
    }

    .donation-panel .panel-sub {
        color: #c4b5a5;
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    /* ─── PROVIDER GRID ───────────────────────────────────────────── */
    .donation-provider-grid {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .donation-provider {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.7rem 1.25rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.04);
        color: #c4b5a5;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .donation-provider::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(255, 215, 0, 0.05), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .donation-provider:hover {
        border-color: #ffd700;
        background: rgba(255, 215, 0, 0.04);
        transform: translateX(6px) scale(1.01);
    }

    .donation-provider:hover::after {
        opacity: 1;
    }

    .donation-provider .provider-icon {
        font-size: 1.4rem;
        width: 2.5rem;
        text-align: center;
        color: #ffd700;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }

    .donation-provider .provider-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        position: relative;
        z-index: 1;
    }

    .donation-provider .provider-info strong {
        color: #fff;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .donation-provider .provider-info small {
        color: #7a6b5e;
        font-size: 0.65rem;
    }

    .donation-provider .arrow-icon {
        color: #555;
        font-size: 0.8rem;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .donation-provider:hover .arrow-icon {
        color: #ffd700;
        transform: translateX(3px);
    }

    .donation-disclaimer {
        font-size: 0.7rem;
        color: #7a6b5e;
        margin-top: 1rem;
        line-height: 1.5;
    }

    .donation-disclaimer i {
        color: #ffd700;
        margin-right: 0.3rem;
    }

    /* ─── IMPACT LIST ────────────────────────────────────────────── */
    .impact-list {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .impact-item {
        display: flex;
        gap: 1rem;
        padding: 0.8rem 1rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.03);
        transition: all 0.3s ease;
    }

    .impact-item:hover {
        border-color: rgba(255, 215, 0, 0.12);
        background: rgba(255, 215, 0, 0.02);
        transform: translateX(4px);
    }

    .impact-item .impact-icon {
        font-size: 1.3rem;
        width: 2.5rem;
        text-align: center;
        color: #ffd700;
        flex-shrink: 0;
        padding-top: 2px;
    }

    .impact-item .impact-info strong {
        color: #fff;
        font-size: 0.9rem;
        display: block;
    }

    .impact-item .impact-info p {
        color: #7a6b5e;
        font-size: 0.8rem;
        margin: 0.1rem 0 0;
        line-height: 1.4;
    }

    /* ─── OTHER WAYS ──────────────────────────────────────────────── */
    .other-ways {
        margin: 3.5rem 0 1rem;
    }

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

    .section-header h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 2rem;
        color: #ffd700;
        margin-bottom: 0.25rem;
    }

    .section-header .section-subtitle {
        color: #7a6b5e;
        font-size: 1rem;
    }

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

    .way-card {
        background: #16213e;
        border-radius: 16px;
        padding: 2rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.04);
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .way-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255, 215, 0, 0.2);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }

    .way-icon {
        font-size: 2.8rem;
        color: #ffd700;
        margin-bottom: 0.5rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .way-card:hover .way-icon {
        opacity: 1;
    }

    .way-card h4 {
        font-family: 'Poppins', sans-serif;
        font-size: 1.2rem;
        color: #ffd700;
        margin: 0 0 0.5rem;
    }

    .way-card p {
        color: #c4b5a5;
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
        flex-grow: 1;
    }

    .btn.small-btn {
        display: inline-block;
        background: #ffd700;
        color: #1a1a2e;
        padding: 0.5rem 1.8rem;
        border-radius: 30px;
        font-weight: 700;
        font-size: 0.85rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        cursor: pointer;
        min-width: 140px;
        text-align: center;
    }

    .btn.small-btn:hover {
        background: #ffe44d;
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
        text-decoration: none;
        color: #1a1a2e;
    }

    .btn.small-btn:active {
        transform: scale(0.96);
    }

    /* ─── PROMISE SECTION ────────────────────────────────────────── */
    .donation-promise {
        background: #16213e;
        border-radius: 16px;
        padding: 2rem 2.5rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        border: 1px solid rgba(255, 215, 0, 0.06);
        margin-top: 2.5rem;
    }

    .donation-promise .promise-text .eyebrow {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #7a6b5e;
        font-weight: 600;
    }

    .donation-promise .promise-text h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 1.4rem;
        color: #ffd700;
        margin: 0.1rem 0 0.25rem;
    }

    .donation-promise .promise-text p {
        color: #c4b5a5;
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.6;
        max-width: 550px;
    }

    .btn-back {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.6rem 1.8rem;
        background: rgba(255, 255, 255, 0.03);
        color: #c4b5a5;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .btn-back:hover {
        background: rgba(255, 215, 0, 0.06);
        border-color: #ffd700;
        color: #ffd700;
        transform: translateY(-2px);
        text-decoration: none;
    }

    /* ─── RESPONSIVE ────────────────────────────────────────────────── */
    @media (max-width: 992px) {
        .way-grid {
            grid-template-columns: repeat(2, 1fr);
        }

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

    @media (max-width: 768px) {
        .donate-hero {
            flex-direction: column;
            text-align: center;
            padding: 2rem 0 1.5rem;
            gap: 1.5rem;
        }

        .donate-hero-text h1 {
            font-size: 2.4rem;
        }

        .donate-hero-text .hero-description {
            font-size: 1rem;
            margin: 0 auto 1.25rem;
        }

        .donate-hero-text .trust-chips {
            justify-content: center;
        }

        .donate-hero-visual .game-icon {
            font-size: 5rem;
        }

        .donate-orb-card .goal-amount {
            font-size: 2.6rem;
        }

        .donate-orb-card {
            padding: 2rem 1.5rem;
        }

        .donation-panel {
            padding: 1.5rem 1.25rem;
        }

        .donation-panel h2 {
            font-size: 1.3rem;
        }

        .donation-promise {
            flex-direction: column;
            text-align: center;
            padding: 1.5rem;
        }

        .donation-promise .promise-text p {
            max-width: 100%;
        }

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

        .way-card {
            padding: 1.5rem 1.25rem;
        }

        .section-header h2 {
            font-size: 1.6rem;
        }

        .btn-back {
            width: 100%;
            justify-content: center;
        }

        .btn.small-btn {
            min-width: 100%;
        }
    }

    @media (max-width: 480px) {
        .donate-wrapper {
            padding: 1rem 0.75rem 2rem;
            border-radius: 12px;
        }

        .donate-hero-text h1 {
            font-size: 1.8rem;
        }

        .donate-hero-visual .game-icon {
            font-size: 4rem;
        }

        .donation-provider {
            padding: 0.6rem 1rem;
        }

        .donation-provider .provider-icon {
            font-size: 1.2rem;
            width: 2rem;
        }

        .donation-provider .provider-info strong {
            font-size: 0.85rem;
        }

        .impact-item {
            padding: 0.6rem 0.8rem;
        }

        .impact-item .impact-icon {
            font-size: 1.1rem;
            width: 2rem;
        }

        .donate-orb-card .goal-amount {
            font-size: 2.2rem;
        }

        .donation-promise {
            padding: 1.25rem;
        }

        .donation-promise .promise-text h2 {
            font-size: 1.2rem;
        }

        .donation-promise .promise-text p {
            font-size: 0.85rem;
        }

        .donation-panel .panel-sub {
            font-size: 0.85rem;
        }

        .trust-chip {
            font-size: 0.65rem;
            padding: 0.2rem 0.8rem;
        }
    }

    @media (max-width: 360px) {
        .donate-hero-text h1 {
            font-size: 1.5rem;
        }

        .donate-orb-card .goal-amount {
            font-size: 2rem;
        }

        .way-card h4 {
            font-size: 1rem;
        }

        .way-card p {
            font-size: 0.8rem;
        }
    }

    /* ─── ACCESSIBILITY ────────────────────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
        .donate-hero-visual {
            animation: none !important;
        }
        .donate-orb-card::before {
            animation: none !important;
        }
        .donation-provider:hover,
        .way-card:hover,
        .impact-item:hover {
            transform: none !important;
        }
        .btn.small-btn:hover {
            transform: none !important;
        }
        .btn-back:hover {
            transform: none !important;
        }
        .goal-progress-fill {
            transition: none !important;
        }
    }

    @media (prefers-contrast: high) {
        .donation-provider {
            border-color: #ffd700 !important;
        }
        .donation-panel,
        .donate-orb-card,
        .donation-promise,
        .way-card {
            border-color: #ffd700 !important;
        }
        .btn.small-btn {
            border: 2px solid #1a1a2e !important;
        }
        .trust-chip {
            border-color: #ffd700 !important;
        }
    }

    :focus-visible {
        outline: 3px solid #ffd700;
        outline-offset: 2px;
    }

    /* ─── SCROLLBAR ─────────────────────────────────────────────────── */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #16213e;
    }
    ::-webkit-scrollbar-thumb {
        background: #ffd700;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #ffe44d;
    }

    /* ─── SELECTION ─────────────────────────────────────────────────── */
    ::selection {
        background: #ffd700;
        color: #1a1a2e;
    }
