/* ========== ENHANCED BASE STYLES ========== */

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 75%, #f5576c 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #2c3e50;
    min-height: 100vh;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ========== CSS ICONS ========== */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
}

/* Home Icon */
.icon-home::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 12px;
    background: currentColor;
    top: 8px;
    left: 4px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.icon-home::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 8px;
    background: currentColor;
    bottom: 2px;
    left: 6px;
    border-radius: 2px;
}

/* Profile Icon */
.icon-profile::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    top: 2px;
    left: 8px;
}

.icon-profile::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 12px;
    background: currentColor;
    border-radius: 16px 16px 0 0;
    bottom: 2px;
    left: 4px;
}

/* Games Icon (Controller) */
.icon-games::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 10px;
    background: currentColor;
    border-radius: 8px;
    top: 7px;
    left: 3px;
}

.icon-games::after {
    content: '⚬ ⚬';
    position: absolute;
    font-size: 8px;
    color: white;
    top: 8px;
    left: 5px;
}

/* Money/Coin Icon */
.icon-money::before {
    content: '₹';
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    color: #f39c12;
    top: 4px;
    left: 6px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Star Icon */
.icon-star::before {
    content: '★';
    position: absolute;
    font-size: 20px;
    color: #f39c12;
    top: 2px;
    left: 2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Trophy Icon */
.icon-trophy::before {
    content: '🏆';
    position: absolute;
    font-size: 18px;
    top: 3px;
    left: 3px;
}

/* Chart/Growth Icon */
.icon-chart::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 16px;
    background: currentColor;
    left: 2px;
    bottom: 2px;
    border-radius: 2px;
}

.icon-chart::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 12px;
    background: currentColor;
    left: 8px;
    bottom: 2px;
    border-radius: 2px;
    box-shadow: 6px 4px 0 currentColor, 12px -2px 0 currentColor;
}

/* Play Icon */
.icon-play::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid currentColor;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    top: 4px;
    left: 6px;
}

/* Shield/Security Icon */
.icon-shield::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 18px;
    background: currentColor;
    clip-path: polygon(50% 0%, 0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%);
    top: 3px;
    left: 4px;
}

/* Globe/World Icon */
.icon-globe::before {
    content: '🌐';
    position: absolute;
    font-size: 18px;
    top: 3px;
    left: 3px;
}

/* Team/Users Icon */
.icon-users::before {
    content: '👥';
    position: absolute;
    font-size: 18px;
    top: 3px;
    left: 3px;
}

/* Lightning/Fast Icon */
.icon-lightning::before {
    content: '⚡';
    position: absolute;
    font-size: 18px;
    top: 3px;
    left: 3px;
}

/* Heart/Like Icon */
.icon-heart::before {
    content: '❤️';
    position: absolute;
    font-size: 16px;
    top: 4px;
    left: 4px;
}

/* Plus/Add Icon */
.icon-plus::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: currentColor;
    top: 11px;
    left: 6px;
    border-radius: 1px;
}

.icon-plus::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background: currentColor;
    top: 6px;
    left: 11px;
    border-radius: 1px;
}

/* Check/Success Icon */
.icon-check::before {
    content: '✓';
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
    top: 3px;
    left: 4px;
}

/* ========== PROFESSIONAL TYPOGRAPHY WITH ICONS ========== */
h1, h2, h3, h4, h5, h6 {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #9b59b6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

/* Add icons to headings */
h1::before {
    content: '🚀';
    margin-right: 10px;
    font-size: 0.8em;
}

h2::before {
    content: '✨';
    margin-right: 8px;
    font-size: 0.8em;
}

/* ========== ENHANCED NAVBAR WITH ICONS ========== */
.navbar {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c) 1;
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow:
        0 8px 32px rgba(44, 62, 80, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:hover {
    background: rgba(44, 62, 80, 0.98);
    box-shadow:
        0 12px 40px rgba(44, 62, 80, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.navbar-left {
    display: flex;
    align-items: center;
}

/* CSS Logo */
.logo {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    position: relative;
    display: inline-block;
}

.logo::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    animation: logoRotate 4s linear infinite;
}

.logo::after {
    content: 'G';
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.site-title {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #3498db, #9b59b6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
}

.site-title::before {
    content: '🎮';
    margin-right: 8px;
    font-size: 20px;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    transition: width 0.3s ease;
}

.site-title:hover::after {
    width: 100%;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Add icons to navbar links */
.navbar a[href*="index"]::before {
    content: '🏠';
    margin-right: 6px;
}

.navbar a[href*="games"]::before {
    content: '🎯';
    margin-right: 6px;
}

.navbar a[href*="about"]::before {
    content: 'ℹ️';
    margin-right: 6px;
}

.navbar a::before {
    font-size: 14px;
}

.navbar a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.navbar a:hover::after {
    left: 100%;
}

.navbar a:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.3), rgba(155, 89, 182, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.points-display {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 10px 18px;
    border-radius: 25px;
    box-shadow:
        0 6px 20px rgba(52, 152, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.points-display::before {
    content: '💰';
    margin-right: 6px;
}

.points-display::after {
    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 2s;
}

.points-display:hover::after {
    left: 100%;
}

.btn-deposit {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow:
        0 6px 20px rgba(243, 156, 18, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-deposit::before {
    content: '💳';
    margin-right: 6px;
}

.btn-deposit::after {
    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.6s;
}

.btn-deposit:hover::after {
    left: 100%;
}

.btn-deposit:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 10px 30px rgba(243, 156, 18, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 15px rgba(155, 89, 182, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.profile-btn::before {
    content: '👤';
    margin-right: 6px;
}

.profile-btn::after {
    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;
}

.profile-btn:hover::after {
    left: 100%;
}

.profile-btn:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #732d91 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(155, 89, 182, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #2c3e50;
    min-width: 200px;
    top: 100%;
    right: 0;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    z-index: 100;
    margin-top: 10px;
    overflow: hidden;
    animation: dropdownSlideIn 0.3s ease;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-content a {
    padding: 15px 20px;
    display: block;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
    font-weight: 500;
    position: relative;
}

/* Add icons to dropdown links */
.dropdown-content a[href*="invested"]::before {
    content: '📊';
    margin-right: 8px;
}

.dropdown-content a[href*="login"]::before {
    content: '🔐';
    margin-right: 8px;
}

.dropdown-content a[href*="signup"]::before {
    content: '📝';
    margin-right: 8px;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    transition: width 0.3s ease;
}

.dropdown-content a:hover::after {
    width: 4px;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    color: #2c3e50;
    transform: translateX(5px);
}

.dropdown-content.show {
    display: block;
}

.navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    color: white;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggle::before {
    content: '☰';
}

.navbar-toggle:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: scale(1.05);
}

/* ========== ENHANCED HERO SECTION WITH ICONS ========== */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.03) 50%, transparent 51%);
    pointer-events: none;
    animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-20px); }
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    font-weight: 900;
    text-shadow:
        0 4px 8px rgba(0,0,0,0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    animation: heroTitleFloat 3s ease-in-out infinite;
}

.hero h1::before {
    content: '🎮';
    margin-right: 15px;
    font-size: 0.8em;
}

@keyframes heroTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero p {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.3em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.6;
    opacity: 0.95;
}

.hero-btn {
    padding: 18px 36px;
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 25px rgba(26, 188, 156, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '🚀';
    margin-right: 8px;
}

.hero-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s;
}

.hero-btn:hover::after {
    left: 100%;
}

.hero-btn:hover {
    background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(26, 188, 156, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========== ENHANCED SECTIONS WITH ICONS ========== */
.featured, .how-it-works, .why-us, .game-section {
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    margin: 4rem auto;
    border-radius: 25px;
    overflow: hidden;
}

.featured {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.featured > * {
    position: relative;
    z-index: 2;
}

.featured h2::before {
    content: '⭐';
    margin-right: 10px;
}

.how-it-works {
    background: rgba(232, 244, 253, 0.95);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 40px rgba(52, 152, 219, 0.1),
        0 0 0 1px rgba(52, 152, 219, 0.1);
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 40% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works > * {
    position: relative;
    z-index: 2;
}

.how-it-works h2::before {
    content: '🔧';
    margin-right: 10px;
}

.why-us {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 60% 70%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.why-us > * {
    position: relative;
    z-index: 2;
}

.why-us h2::before {
    content: '💡';
    margin-right: 10px;
}

.game-section {
    background: rgba(253, 242, 233, 0.95);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 40px rgba(243, 156, 18, 0.1),
        0 0 0 1px rgba(243, 156, 18, 0.1);
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.game-section > * {
    position: relative;
    z-index: 2;
}

.game-section h2::before {
    content: '🎯';
    margin-right: 10px;
}

/* ========== ENHANCED CARDS WITH ICONS ========== */
.featured-list, .game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.featured-card, .game-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.1),
        0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.featured-card::before, .game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 1s;
}

.featured-card:hover::before, .game-card:hover::before {
    left: 100%;
}

.featured-card:hover, .game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

/* CSS Image Placeholders */
.featured-card img, .game-card img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

/* If no image is provided, show CSS placeholder */
.featured-card .image-placeholder,
.game-card .image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.featured-card .image-placeholder::before,
.game-card .image-placeholder::before {
    content: '🎮';
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.featured-card .image-placeholder::after,
.game-card .image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.featured-card:hover img, .game-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.game-card img {
    height: 200px;
    object-fit: cover;
}

.game-card button {
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 6px 20px rgba(39, 174, 96, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.game-card button::before {
    content: '💸';
    margin-right: 6px;
}

.game-card button::after {
    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.6s;
}

.game-card button:hover::after {
    left: 100%;
}

.game-card button:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 10px 30px rgba(39, 174, 96, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========== ENHANCED STEPS WITH ICONS ========== */
.how-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
}

.step {
    flex: 1 1 280px;
    max-width: 350px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow:
        0 15px 35px rgba(52, 152, 219, 0.15),
        0 5px 15px rgba(52, 152, 219, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    transition: all 0.3s ease;
}

.step:hover::before {
    width: 100%;
    opacity: 0.05;
}

.step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(52, 152, 219, 0.2),
        0 0 0 1px rgba(52, 152, 219, 0.2);
}

/* Step Icons */
.step:nth-child(1) h3::before {
    content: '1️⃣';
    margin-right: 8px;
}

.step:nth-child(2) h3::before {
    content: '2️⃣';
    margin-right: 8px;
}

.step:nth-child(3) h3::before {
    content: '3️⃣';
    margin-right: 8px;
}

/* ========== ENHANCED WHY US WITH ICONS ========== */
.why-us ul {
    max-width: 900px;
    margin: 3rem auto 0;
    list-style: none;
    padding: 0;
}

.why-us li {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    font-size: 1.1rem;
    box-shadow:
        0 8px 25px rgba(0,0,0,0.08),
        0 3px 10px rgba(0,0,0,0.05);
    border-left: 5px solid transparent;
    border-image: linear-gradient(135deg, #9b59b6, #3498db) 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-us li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #9b59b6, #3498db);
    transition: all 0.3s ease;
}

.why-us li:hover::before {
    width: 100%;
    opacity: 0.05;
}

.why-us li:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(155, 89, 182, 0.2),
        0 5px 15px rgba(155, 89, 182, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

/* Add icons to why us items */
.why-us li:nth-child(1)::after {
    content: '⚡';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.3;
}

.why-us li:nth-child(2)::after {
    content: '💰';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.3;
}

.why-us li:nth-child(3)::after {
    content: '📈';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.3;
}

.why-us li:nth-child(4)::after {
    content: '🎮';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.3;
}

.why-us li:nth-child(5)::after {
    content: '🌍';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.3;
}

.why-us li:nth-child(6)::after {
    content: '🚀';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.3;
}

/* ========== ENHANCED MODAL WITH ICONS ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    overflow: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    max-width: 550px;
    margin: auto;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-content .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.3s ease;
    background: rgba(231, 76, 60, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content .close::before {
    content: '❌';
    font-size: 16px;
}

.modal-content .close:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-content button {
    margin-top: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 30px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 25px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-content button::before {
    content: '✅';
    margin-right: 8px;
}

.modal-content button::after {
    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.6s;
}

.modal-content button:hover::after {
    left: 100%;
}

.modal-content button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(52, 152, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========== ENHANCED FOOTER WITH ICONS ========== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #bdc3c7;
    padding: 60px 30px 40px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-col {
    width: 280px;
    margin-bottom: 30px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Add icons to footer headings */
.footer-col:nth-child(1) h4::before {
    content: '🏢';
    margin-right: 8px;
    background: none;
    -webkit-text-fill-color: #3498db;
}

.footer-col:nth-child(2) h4::before {
    content: '🔗';
    margin-right: 8px;
    background: none;
    -webkit-text-fill-color: #9b59b6;
}

.footer-col:nth-child(3) h4::before {
    content: '📞';
    margin-right: 8px;
    background: none;
    -webkit-text-fill-color: #e74c3c;
}

.footer-col:nth-child(4) h4::before {
    content: '🌐';
    margin-right: 8px;
    background: none;
    -webkit-text-fill-color: #f39c12;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-col ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover::before {
    width: 100%;
}

.footer-col ul li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

/* CSS Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icons a.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    color: white;
}

.social-icons a.facebook::before {
    content: '📘';
}

.social-icons a.twitter {
    background: linear-gradient(135deg, #1da1f2, #1a91da);
    color: white;
}

.social-icons a.twitter::before {
    content: '🐦';
}

.social-icons a.instagram {
    background: linear-gradient(135deg, #e4405f, #bc2a8d);
    color: white;
}

.social-icons a.instagram::before {
    content: '📷';
}

.social-icons a.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
}

.social-icons a.youtube::before {
    content: '📺';
}

.social-icons a:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    font-size: 1rem;
    color: #95a5a6;
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '©️';
    margin-right: 5px;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-right {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: rgba(52, 73, 94, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px 0;
        margin-top: 15px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .navbar-right.show {
        display: flex;
    }

    .navbar-right a,
    .btn-deposit,
    .points-display,
    .profile-dropdown {
        margin-left: 20px;
        margin-bottom: 15px;
        width: calc(100% - 40px);
    }

    .featured, .how-it-works, .why-us, .game-section {
        padding: 3rem 1.5rem;
        margin: 2rem auto;
    }

    .featured-list, .game-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .how-steps {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .modal-content {
        max-width: 90vw;
        padding: 2rem 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ========== SCROLLBAR WITH ICONS ========== */
::-webkit-scrollbar {
    width: 12px;
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db, #9b59b6);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9, #8e44ad);
}

/* ========== LOADING ANIMATIONS ========== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-effect {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-effect {
    animation: float 3s ease-in-out infinite;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

/* ========== PAGE-SPECIFIC WHITE BACKGROUNDS ========== */

/* Login Page White Background */
body.login-page,
body.page-login,
.login-container {
    background: #ffffff !important;
    background-image: none !important;
    color: #2c3e50 !important;
}

/* Signup Page White Background */
body.signup-page,
body.page-signup,
.signup-container {
    background: #ffffff !important;
    background-image: none !important;
    color: #2c3e50 !important;
}

/* Invested Games Page White Background */
body.invested-page,
body.page-invested,
body.invested-games-page,
.invested-container,
.invested-games-container {
    background: #ffffff !important;
    background-image: none !important;
    color: #2c3e50 !important;
}

/* Override gradient backgrounds for specific pages */
body.login-page::before,
body.signup-page::before,
body.invested-page::before,
body.page-login::before,
body.page-signup::before,
body.page-invested::before,
body.invested-games-page::before {
    display: none !important;
}

/* Update headings for white background pages */
.login-page h1, .login-page h2, .login-page h3, .login-page h4, .login-page h5, .login-page h6,
.signup-page h1, .signup-page h2, .signup-page h3, .signup-page h4, .signup-page h5, .signup-page h6,
.invested-page h1, .invested-page h2, .invested-page h3, .invested-page h4, .invested-page h5, .invested-page h6,
.page-login h1, .page-login h2, .page-login h3, .page-login h4, .page-login h5, .page-login h6,
.page-signup h1, .page-signup h2, .page-signup h3, .page-signup h4, .page-signup h5, .page-signup h6,
.page-invested h1, .page-invested h2, .page-invested h3, .page-invested h4, .page-invested h5, .page-invested h6,
.invested-games-page h1, .invested-games-page h2, .invested-games-page h3, .invested-games-page h4, .invested-games-page h5, .invested-games-page h6 {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #9b59b6 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Section backgrounds for white pages */
.login-page .featured, .login-page .how-it-works, .login-page .why-us, .login-page .game-section,
.signup-page .featured, .signup-page .how-it-works, .signup-page .why-us, .signup-page .game-section,
.invested-page .featured, .invested-page .how-it-works, .invested-page .why-us, .invested-page .game-section,
.page-login .featured, .page-login .how-it-works, .page-login .why-us, .page-login .game-section,
.page-signup .featured, .page-signup .how-it-works, .page-signup .why-us, .page-signup .game-section,
.page-invested .featured, .page-invested .how-it-works, .page-invested .why-us, .page-invested .game-section,
.invested-games-page .featured, .invested-games-page .how-it-works, .invested-games-page .why-us, .invested-games-page .game-section {
    background: rgba(248, 249, 250, 0.95) !important;
    color: #2c3e50 !important;
}

/* Cards and content for white pages */
.login-page .featured-card, .login-page .game-card, .login-page .step, .login-page .why-us li,
.signup-page .featured-card, .signup-page .game-card, .signup-page .step, .signup-page .why-us li,
.invested-page .featured-card, .invested-page .game-card, .invested-page .step, .invested-page .why-us li,
.page-login .featured-card, .page-login .game-card, .page-login .step, .page-login .why-us li,
.page-signup .featured-card, .page-signup .game-card, .page-signup .step, .page-signup .why-us li,
.page-invested .featured-card, .page-invested .game-card, .page-invested .step, .page-invested .why-us li,
.invested-games-page .featured-card, .invested-games-page .game-card, .invested-games-page .step, .invested-games-page .why-us li {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #2c3e50 !important;
}

/* Ensure text is dark on white background pages */
.login-page p, .login-page span, .login-page div, .login-page li,
.signup-page p, .signup-page span, .signup-page div, .signup-page li,
.invested-page p, .invested-page span, .invested-page div, .invested-page li,
.page-login p, .page-login span, .page-login div, .page-login li,
.page-signup p, .page-signup span, .page-signup div, .page-signup li,
.page-invested p, .page-invested span, .page-invested div, .page-invested li,
.invested-games-page p, .invested-games-page span, .invested-games-page div, .invested-games-page li {
    color: #2c3e50 !important;
}
