/* ===============================
   CARDS PAGE STYLES
   =============================== */

/* Global Variables */
:root {
    --primary-color: #e8c742;
    --secondary-color: #f4d03f;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --dark-bg: #0a0a0a;
    --darker-bg: #1a1a1a;
    --light-text: #ffffff;
    --muted-text: #cccccc;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(232, 199, 66, 0.3);
    --card-red: #8b0000;
    --card-black: #1a1a1a;
    --card-gold: #ffd700;
    --card-green: #006400;
    --card-blue: #4169e1;
}

/* ===============================
   PAGE HEADER
   =============================== */

.page-header {
    background: 
        linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 50%, var(--dark-bg) 100%),
        radial-gradient(circle at 20% 20%, rgba(232, 199, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 208, 63, 0.1) 0%, transparent 50%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20h10v10h-10zM70 30h10v10h-10zM40 60h10v10h-10z" fill="%23e8c742" opacity="0.1"/><circle cx="80" cy="20" r="8" fill="%23e8c742" opacity="0.1"/><circle cx="20" cy="80" r="12" fill="%23e8c742" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    animation: floatCards 25s linear infinite;
}

@keyframes floatCards {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(-100px) translateY(-100px) rotate(360deg); }
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    margin-bottom: 2rem;
    color: var(--muted-text);
    font-size: 1rem;
}

.page-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: var(--light-text);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--muted-text);
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title-icon {
    font-size: 3.5rem;
    opacity: 0.9;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===============================
   CARDS STATS SECTION
   =============================== */

.cards-stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--muted-text);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ===============================
   FEATURED GAMES SECTION
   =============================== */

.featured-games {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card.featured {
    border-color: rgba(232, 199, 66, 0.4);
    box-shadow: 0 10px 30px rgba(232, 199, 66, 0.2);
}

.game-card.featured::after {
    content: '⭐ FEATURED';
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 3;
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.game-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.play-btn, .demo-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

.play-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
}

.demo-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--light-text);
}

.play-btn:hover, .demo-btn:hover {
    transform: translateY(-2px);
}

.game-details {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-stats .stat {
    text-align: center;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted-text);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag.hot {
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    border-color: var(--accent-color);
}

.tag.live {
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    border-color: var(--accent-color);
    animation: pulse 2s infinite;
}

.tag.new {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.tag.thai {
    background: linear-gradient(135deg, #ed1c24, #0033a0);
    border-color: #ed1c24;
}

.tag.classic {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    border-color: #8b4513;
}

.tag.multiplayer {
    background: linear-gradient(135deg, var(--info-color), #2980b9);
    border-color: var(--info-color);
}

.tag.fast {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
    border-color: var(--warning-color);
}

/* ===============================
   CARD CATEGORIES SECTION
   =============================== */

.card-categories {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.category-card p {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.category-stats .stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===============================
   LIVE TABLES SECTION
   =============================== */

.live-tables {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.table-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.table-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.table-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.table-card:hover::before {
    opacity: 1;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.table-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.table-type {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.table-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.table-status.live {
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    color: var(--light-text);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--light-text);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.table-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.table-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.table-card:hover .table-image img {
    transform: scale(1.05);
}

.table-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.dealer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dealer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.dealer-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
}

.table-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.table-stats .stat {
    text-align: center;
}

.table-stats .stat-label {
    font-size: 0.7rem;
    color: var(--muted-text);
    display: block;
    margin-bottom: 0.25rem;
}

.table-stats .stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.table-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.join-btn, .watch-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

.join-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
}

.watch-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--light-text);
}

.join-btn:hover, .watch-btn:hover {
    transform: translateY(-2px);
}

/* ===============================
   GAME RULES SECTION
   =============================== */

.game-rules {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rule-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.rule-card:hover::before {
    opacity: 1;
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.rule-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.2), rgba(244, 208, 63, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(232, 199, 66, 0.3);
}

.rule-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.rule-content {
    position: relative;
    z-index: 2;
}

.rule-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rule-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.rule-content li {
    padding: 0.5rem 0;
    color: var(--muted-text);
    position: relative;
    padding-left: 2rem;
}

.rule-content li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.rule-payout {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
}

.rule-payout h4 {
    margin-bottom: 1rem;
}

.payout-list {
    display: grid;
    gap: 0.75rem;
}

.payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payout-item span:first-child {
    color: var(--light-text);
    font-weight: 600;
}

.payout-item span:last-child {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===============================
   CARD PROMOTIONS SECTION
   =============================== */

.card-promotions {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.promotion-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.promotion-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.promotion-card:hover::before {
    opacity: 1;
}

.promotion-image {
    height: 200px;
    overflow: hidden;
}

.promotion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promotion-card:hover .promotion-image img {
    transform: scale(1.1);
}

.promotion-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.promotion-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.promotion-content p {
    color: var(--muted-text);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.promotion-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.bonus-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.bonus-condition {
    font-size: 0.9rem;
    color: var(--muted-text);
}

.claim-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.claim-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 199, 66, 0.4);
}

/* ===============================
   SECTION TITLE STYLES
   =============================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-icon {
    font-size: 3rem;
    opacity: 0.9;
}

/* ===============================
   MOBILE BOTTOM NAVIGATION
   =============================== */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 0;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--muted-text);
    font-size: 0.7rem;
    font-weight: 500;
    min-width: 60px;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    background: rgba(232, 199, 66, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-bottom-nav .nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablet */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .tables-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .rules-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
    
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-title-icon {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-icon {
        font-size: 2rem;
    }
    
    .cards-stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .featured-games {
        padding: 3rem 0;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        max-width: 100%;
    }
    
    .game-image {
        height: 200px;
    }
    
    .game-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .card-categories {
        padding: 3rem 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
    }
    
    .category-stats {
        justify-content: center;
    }
    
    .live-tables {
        padding: 3rem 0;
    }
    
    .tables-grid {
        grid-template-columns: 1fr;
    }
    
    .table-card {
        max-width: 100%;
    }
    
    .table-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-rules {
        padding: 3rem 0;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .rule-card {
        padding: 1.5rem;
    }
    
    .rule-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .rule-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .rule-header h3 {
        font-size: 1.3rem;
    }
    
    .card-promotions {
        padding: 3rem 0;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .promotion-card {
        max-width: 100%;
    }
    
    .promotion-details {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .title-icon {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .game-details {
        padding: 1.5rem;
    }
    
    .game-tags {
        justify-content: center;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .category-card {
        padding: 1.25rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .category-card h3 {
        font-size: 1.2rem;
    }
    
    .table-header {
        padding: 1.25rem;
    }
    
    .table-actions {
        padding: 1.25rem;
    }
    
    .rule-card {
        padding: 1.25rem;
    }
    
    .rule-icon {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
    
    .rule-header h3 {
        font-size: 1.2rem;
    }
    
    .rule-content h4 {
        font-size: 1.1rem;
    }
    
    .rule-payout {
        padding: 1.25rem;
    }
    
    .payout-item {
        padding: 0.6rem;
    }
    
    .promotion-content {
        padding: 1.5rem;
    }
    
    .promotion-content h3 {
        font-size: 1.3rem;
    }
    
    .bonus-amount {
        font-size: 1.1rem;
    }
    
    .bonus-condition {
        font-size: 0.8rem;
    }
    
    .claim-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (orientation: landscape) and (max-height: 500px) {
    .mobile-bottom-nav {
        padding: 0.4rem 0;
    }
    
    .mobile-bottom-nav .nav-item {
        font-size: 0.6rem;
        padding: 0.3rem;
    }
    
    .mobile-bottom-nav .nav-icon {
        font-size: 1rem;
    }
    
    body {
        padding-bottom: 60px;
    }
}

/* ===============================
   UTILITIES
   =============================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
}

.btn-outline {
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    border: 2px solid rgba(232, 199, 66, 0.3);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 199, 66, 0.3);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(232, 199, 66, 0.3);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Selection Styles */
::selection {
    background: var(--primary-color);
    color: var(--dark-bg);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .mobile-bottom-nav,
    .game-actions,
    .table-actions,
    .claim-btn {
        display: none !important;
    }
    
    .game-card,
    .table-card,
    .rule-card,
    .promotion-card {
        break-inside: avoid;
    }
}