/* Find Your Game Section */
.find-game-section {
    margin-bottom: 32px;
}

.find-game-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.find-game-title .highlight {
    background: linear-gradient(135deg, #E91EFE 0%, #FF00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-container {
    position: relative;
    margin-bottom: 16px;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 30, 254, 0.1);
}

.game-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 4px;
}

.game-categories::-webkit-scrollbar {
    height: 6px;
}

.game-categories::-webkit-scrollbar-track {
    background: transparent;
}

.game-categories::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 254, 0.3);
    border-radius: 3px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-btn:hover {
    background: rgba(233, 30, 254, 0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 254, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

.category-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Hero Banner */
.hero-banner {
    margin-bottom: 28px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 47, 184, 0.4) 0%, rgba(107, 31, 140, 0.4) 100%);
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    padding: 48px;
    min-height: 320px;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-text {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-left: auto;
    max-width: 50%;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #E91EFE 0%, #FF00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(233, 30, 254, 0.3);
}

.hero-text h1 span {
    display: inline;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: var(--text-primary);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    font-size: 56px;
}

.hero-text .btn-primary {
    padding: 15px 36px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.4);
}

.hero-text .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 254, 0.5);
}

.timer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.timer-icon {
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.card {
    padding: 40px;
    border-radius: 20px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card {
    border-radius: 20px;
    min-height: 150px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.game-card-title,
.card-title {
    display: flex;
    column-gap: 8px;
    z-index: 2;
}

.card-title .card-icon {
    width: 48px;
    height: 48px;
    z-index: 2;
}

.game-card-title .card-icon {
    width: 28px;
    height: 28px;
    z-index: 2;
}

.card-title h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.game-card-title h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    z-index: 2;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header h2 {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.section-header-soccer h2 {
    display: flex;
    align-items: center;
    column-gap: 5px;
    padding-bottom: 10px;
}

.section-header .dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

.controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-view-all {
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
}

.btn-nav {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav::before {
    content: '';
    width: 8px;
    height: 8px;
    border-left: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transition: border-color 0.3s;
}

.btn-prev::before {
    transform: rotate(45deg);
    margin-left: 3px;
}

.btn-next::before {
    transform: rotate(-135deg);
    margin-right: 3px;
}

.btn-nav:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-nav:hover::before {
    border-color: var(--accent);
}

/* Games Grid */
.games-selection {
    margin-bottom: 40px;
}

.games-selection .game-card {
		padding: 40px;
	  background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.games-selection .section-header {
    display: none;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.game-shows-section .game-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
		display: flex;
		align-items: center;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(233, 30, 254, 0.3);
}

.game-image {
    width: 100%;
		height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    position: relative;
    overflow: hidden;
		z-index: 1;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.game-card:hover .game-image::before {
    transform: translateX(100%);
}

.game-card h4 {
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}

.game-card .provider {
    padding: 0 16px 16px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* Live Wins */
.live-wins-section {
    margin-bottom: 48px;
}

.wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.win-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.win-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(233, 30, 254, 0.3);
}

.win-image {
    width: 100%;
    background: linear-gradient(135deg, rgba(233, 30, 254, 0.15) 0%, rgba(139, 47, 184, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.win-card h4 {
    padding: 14px 16px 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.win-card .provider {
    padding: 0 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.win-card .player {
    padding: 10px 16px 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.win-card .amount {
    padding: 0 16px 18px;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #E91EFE 0%, #FF00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse Originals */
.pulse-originals-section {
    margin-bottom: 48px;
}

.originals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.original-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
}

.original-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(233, 30, 254, 0.3);
}

.original-card.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(233, 30, 254, 0.15) 0%, rgba(139, 47, 184, 0.1) 100%);
    box-shadow: 0 4px 20px rgba(233, 30, 254, 0.2);
}

.original-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.original-card h4 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.collection-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.collection-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(233, 30, 254, 0.3);
}

.collection-header {
    position: relative;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.collection-image {
    width: 100%;
    background: linear-gradient(135deg, rgba(233, 30, 254, 0.2) 0%, rgba(139, 47, 184, 0.2) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.collection-header h3 {
    position: absolute;
    left: 50px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.collection-games {
    padding: 0 24px 24px;
    width: 100%;
}

.btn-goto {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-goto:hover {
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.4);
}

/* Deposit Badge */
.deposit-badge {
    position: absolute;
    bottom: 12px;
		text-align: center;
    padding: 5px 14px;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(233, 30, 254, 0.4);
		z-index: 2;
}

/* Live Badge */
.live-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
		z-index: 2;
}

.live-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Bonus Banner */
.bonus-banner {
    margin: 48px 0;
    padding: 48px;
    background: linear-gradient(135deg, rgba(139, 47, 184, 0.3) 0%, rgba(107, 31, 140, 0.3) 100%);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(233, 30, 254, 0.2);
    position: relative;
    overflow: hidden;
}

.bonus-banner::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 1200 200"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(233,30,254,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.bonus-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.bonus-content h3 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 1px;
}

.bonus-content h3 span {
    background: linear-gradient(135deg, #E91EFE 0%, #FF00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Providers Grid */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 48px;
}

.provider-card {
    padding: 36px 24px;
    background: var(--card-bg);
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.provider-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(233, 30, 254, 0.3);
}

.provider-logo {
		max-height: 70px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* Latest Rounds Table */
.latest-rounds-section {
    margin: 48px 0;
}

.tabs-container {
    margin: 24px 0;
}

.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(233, 30, 254, 0.05);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: rgba(233, 30, 254, 0.1);
}

.rounds-table {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1.5fr;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.th {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-body {
    max-height: 450px;
    overflow-y: auto;
}

.table-body::-webkit-scrollbar {
    width: 8px;
}

.table-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.table-body::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 254, 0.3);
    border-radius: 4px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1.5fr;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.table-row:hover {
    background: rgba(233, 30, 254, 0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.td {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.game-icon {
    width: 24px;
    height: 24px;
}

.crypto-icon {
    width: 18px;
    height: 18px;
}

.profit-negative {
    color: var(--red-loss);
    font-weight: 700;
}

.profit-positive {
    color: var(--green-profit);
    font-weight: 700;
}

/* Media Queries */

/* Tablet & Desktop */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .page-wrapper {
        margin-left: 0;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-selection {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wins-grid,
    .originals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .find-game-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .search-input {
        padding: 12px 16px 12px 46px;
        font-size: 13px;
    }
    
    .category-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .category-icon {
        width: 16px;
        height: 16px;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .btn-header {
        padding: 9px 18px;
        font-size: 13px;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 32px;
        text-align: center;
    }
    
    .hero-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 24px;
        height: 200px;
    }
    
    .hero-text {
        max-width: 100%;
        margin-left: 0;
        margin-top: 180px;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-text h1 span {
        font-size: 36px;
    }
    
    .games-selection,
    .wins-grid,
    .originals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

		.games-grid .game-card:nth-child(n+4) {
			  display: none;
		}

		.games-grid {
				grid-template-columns: repeat(3, 1fr);
		}

		.games-selection .section-header {
        display: flex;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1fr;
        padding: 14px 20px;
    }
    
    .th,
    .td {
        font-size: 12px;
    }
}

@media (max-width: 440px) {
    .burger-menu {
        display: none;
    }

    .logo img {
        max-height: 25px;
    }

    .page-wrapper {
        padding: 16px;
        margin-bottom: 72px;
    }
    
    .header {
        height: 64px;
    }
    
    .header-container {
        padding: 0 12px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .btn-header {
        display: none;
    }
    
    .btn-header.btn-primary {
        display: block;
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .btn-search,
    .btn-theme-toggle,
    .btn-messages {
        width: 36px;
        height: 36px;
    }
    
    .btn-search,
		.btn-messages {
        display: none !important;
    }
    
    .hero-content {
        padding: 24px;
        min-height: 280px;
    }
    
    .hero-image {
        height: 160px;
    }
    
    .hero-text {
        margin-top: 140px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text h1 span {
        font-size: 28px;
    }
    
    .hero-text .btn-primary {
        padding: 12px 28px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 12px;
    }

		.hero-image {
			width: auto;
			left: -75px;
			object-position: left center;
		}
    
    .timer {
        width: 100%;
        justify-content: center;
    }
    
    .card {
        padding: 28px;
        min-height: 240px;
    }
    
    .card h3 {
        font-size: 24px;
    }
    
    .games-selection,
    .wins-grid,
    .originals-grid {
        grid-template-columns: 1fr;
    }
    
		.games-grid .game-card:nth-child(n+4) {
			  display: none;
		}

		.games-grid {
				grid-template-columns: repeat(3, 1fr);
		}

		.game-card {
			min-height: auto;
			padding-left: 5px;
		}

		.game-card-title .card-icon {
			width: 18px;
			height: 18px;
		}

		.game-card-title h3 {
			font-size: 12px;
		}
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        white-space: nowrap;
        padding: 12px 22px;
        font-size: 13px;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 20px;
    }
    
    .td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-secondary);
        margin-right: 10px;
        font-size: 12px;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .providers-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .bonus-banner {
        padding: 32px 24px;
    }
    
    .bonus-content h3 {
        font-size: 32px;
    }
    
    .bottom-nav {
        display: flex;
    }
}

/* Tower Game Page - Betting Panel & History */

/* Main Layout Container */
.tower-game-container {
    display: grid;
    grid-template-columns: 425px 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.blackjack-game-container {
    gap: 20px;
    margin-bottom: 32px;
}

/* Betting Control Panel */
.betting-panel {
    background: rgba(42, 27, 61, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.theme-dark .betting-panel {
    background: rgba(26, 26, 26, 0.6);
}

.betting-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 10px;
}

.mode-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-btn.active {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(233, 30, 254, 0.4);
}

/* Input Groups */
.bet-input-group {
    margin-bottom: 12px;
}

.input-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.bet-input-wrapper {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.bet-input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s;
}

.bet-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.bet-multiplier-btn {
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 44px;
}

.bet-multiplier-btn:hover {
    background: rgba(233, 30, 254, 0.15);
    border-color: var(--accent);
    color: var(--text-primary);
}

.risk-select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23B8B8B8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    outline: none;
}

.risk-select:focus {
    border-color: var(--accent);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Two Column Layout */
.bet-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Auto Bet Controls */
.auto-bet-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.auto-bet-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auto-bet-field label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.auto-bet-input,
.auto-bet-select {
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    outline: none;
}

.auto-bet-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23B8B8B8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
    cursor: pointer;
}

/* Profit Display */
.profit-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.profit-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profit-item label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

.profit-item .value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(233, 30, 254, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.45);
}

/* Panel Footer */
.panel-footer {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-icon-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
}

.panel-icon-btn:hover {
    background: rgba(233, 30, 254, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.panel-icon-btn img {
    height: 16px;
    width: 16px;
}

/* Game Area */
.game-display-area {
    background: rgba(42, 27, 61, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.theme-dark .game-display-area {
    background: rgba(26, 26, 26, 0.6);
}

/* Game History Section */
.game-history-wrapper {
    display: flex;
    background: rgba(42, 27, 61, 0.6);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    column-gap: 20px;
}

.theme-dark .game-history-wrapper {
    background: rgba(26, 26, 26, 0.6);
}

.history-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.history-header img {
    height: 100%;
    width: auto;
    max-height: 250px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding-bottom: 15px;
}

.history-game-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.history-game-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.history-game-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

/* History Tabs */
.history-tabs {
    display: inline-block;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.history-tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.history-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.history-tab-btn.active {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(233, 30, 254, 0.4);
}

/* History Table */
.history-table {
    width: 100%;
}

.history-table h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.history-table-header {
    display: grid;
    grid-template-columns: 50px 1fr 120px 140px 110px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-bottom: 8px;
}

.history-th {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.history-table-body::-webkit-scrollbar {
    width: 5px;
}

.history-table-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.history-table-body::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 254, 0.3);
    border-radius: 3px;
}

.history-table-body::-webkit-scrollbar-thumb:hover {
    background: rgba(233, 30, 254, 0.5);
}

.history-table-row {
    display: grid;
    grid-template-columns: 50px 1fr 120px 140px 110px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
    align-items: center;
}

.history-table-row:hover {
    background: rgba(233, 30, 254, 0.06);
}

.history-table-row:last-child {
    border-bottom: none;
}

.history-td {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.rank-badge {
    width: auto;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
}

.rank-badge-first {
    position: fixed;
    left: 220px;
    width: auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
}

.user-badge-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.user-hidden {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 12px;
}

.hidden-icon {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.multiplier-badge {
    color: var(--accent);
    font-weight: 700;
}

.payout-value {
    font-weight: 700;
    color: var(--text-primary);
}

.date-value {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1200px) {
    .tower-game-container {
        grid-template-columns: 425px 1fr;
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .tower-game-container {
        grid-template-columns: 425px 1fr;
    }
    
    .betting-panel {
        max-width: 500px;
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    .tower-game-container {
        grid-template-columns: 1fr;
    }

    .history-table-header {
        grid-template-columns: 40px 1fr 100px 120px 90px;
        padding: 8px 12px;
    }
    
    .history-table-row {
        grid-template-columns: 40px 1fr 100px 120px 90px;
        padding: 10px 12px;
    }
    
    .history-th,
    .history-td {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .game-history-wrapper {
        display: block;
    }

    .history-header img {
        max-height: none;
    }

    .rank-badge-first {
        left: 45px;
    }

    .betting-panel {
        padding: 16px;
    }
    
    .bet-row,
    .auto-bet-section,
    .profit-display {
        grid-template-columns: 1fr;
    }
    
    .history-table-header {
        display: none;
    }
    
    .history-table-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
        border-radius: 10px;
        margin-bottom: 8px;
        background: rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .history-td::before {
        content: attr(data-label) ": ";
        font-weight: 700;
        color: var(--text-secondary);
        margin-right: 6px;
        font-size: 11px;
    }
}

/* Base Imports (assuming these are already loaded) */
/* Variables from base-styles.css should be available */

:root {
    --purple-primary: #E91EFE;
    --purple-bg-dark: #1A0E2E;
    --purple-bg-medium: #2D1B4E;
    --purple-bg-light: #3D2659;
    --purple-card: #2A1B3D;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-muted: #808080;
    
    --green-profit: #00FF94;
    --red-loss: #FF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #1A0E2E 0%, #0D0620 100%);
    color: var(--text-primary);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

/* Soccer Container */
.soccer-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Soccer Header */
.soccer-header {
    margin-bottom: 24px;
}

.soccer-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.soccer-icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.soccer-title-wrapper h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
    color: var(--text-primary);
}

/* League Tabs */
.league-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.league-tabs::-webkit-scrollbar {
    height: 6px;
}

.league-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.league-tabs::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 254, 0.3);
    border-radius: 3px;
}

.league-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.league-tab:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
}

.league-tab.active {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.league-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

/* View Toggles */
.view-toggles {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.view-toggle:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

.view-toggle.active {
    background: rgba(233, 30, 254, 0.15);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

/* Matches Section */
.matches-section {
    margin-bottom: 48px;
}

.matches-section-icon {
    max-height: 40px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--purple-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--purple-primary);
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(0.85); 
    }
}

/* Match Card */
.match-card {
    background: rgba(42, 27, 61, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.match-card:hover {
    background: rgba(42, 27, 61, 0.8);
    border-color: rgba(233, 30, 254, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.match-league {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.separator {
    opacity: 0.5;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(233, 30, 254, 0.15);
    border: 1px solid rgba(233, 30, 254, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--purple-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-indicator {
    width: 6px;
    height: 6px;
    background: var(--purple-primary);
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

/* Match Body */
.match-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.team:last-child {
    flex-direction: row-reverse;
}

.team-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.team-score {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    min-width: 50px;
    text-align: center;
}

.match-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    white-space: nowrap;
}

/* Match Odds */
.match-odds {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.odd-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.odd-btn:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
}

.odd-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: lowercase;
}

.odd-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.more-btn:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

/* Popular Grid */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Popular Match Card */
.popular-match-card {
    background: rgba(42, 27, 61, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.3s;
}

.popular-match-card:hover {
    background: rgba(42, 27, 61, 0.8);
    border-color: rgba(233, 30, 254, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.popular-match-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 8px;
}

.popular-league-info {
    flex: 1;
}

.league-text {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.live-badge-small {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(233, 30, 254, 0.15);
    border: 1px solid rgba(233, 30, 254, 0.3);
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    color: var(--purple-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.popular-match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.score-display {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.match-time-small {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.popular-teams {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.popular-odds {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.popular-odd-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.popular-odd-btn:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
}

.odd-label-small {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: lowercase;
}

.odd-value-small {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.popular-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.popular-more-btn:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .match-teams {
        gap: 12px;
    }
    
    .team-score {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .league-tabs {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .match-card {
        padding: 16px;
    }
    
    .match-teams {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .team {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .team:last-child {
        flex-direction: row;
    }
    
    .match-time {
        order: -1;
        margin-bottom: 8px;
    }
    
    .match-odds {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .soccer-title-wrapper h1 {
        font-size: 22px;
    }
    
    .league-tab {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .team-name {
        font-size: 13px;
    }
    
    .team-score {
        font-size: 20px;
        min-width: 40px;
    }
    
    .score-display {
        font-size: 24px;
    }
}

/* Base Variables */
:root {
    --purple-primary: #E91EFE;
    --purple-bg-dark: #1A0E2E;
    --purple-bg-medium: #2D1B4E;
    --purple-bg-light: #3D2659;
    --purple-card: #2A1B3D;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-muted: #808080;
    
    --green-profit: #00FF94;
    --red-loss: #FF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #1A0E2E 0%, #0D0620 100%);
    color: var(--text-primary);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

/* Tennis Container */
.tennis-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Tennis Header */
.tennis-header {
    margin-bottom: 24px;
}

.tennis-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tennis-icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.tennis-title-wrapper h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
    color: var(--text-primary);
}

/* League Tabs */
.league-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.league-tabs::-webkit-scrollbar {
    height: 6px;
}

.league-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.league-tabs::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 254, 0.3);
    border-radius: 3px;
}

.league-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.league-tab:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
}

.league-tab.active {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.league-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

/* View Toggles */
.view-toggles {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.view-toggle:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

.view-toggle.active {
    background: rgba(233, 30, 254, 0.15);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

/* Tennis Section */
.tennis-section {
    margin-bottom: 40px;
}

.section-header-tennis {
    margin-bottom: 20px;
}

.section-header-tennis h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0;
}

.crown-icon {
    color: var(--purple-primary);
}

/* Tennis Matches Grid */
.tennis-matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Tennis Match Card */
.tennis-match-card {
    background: rgba(42, 27, 61, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.3s;
    position: relative;
}

.tennis-match-card:hover {
    background: rgba(42, 27, 61, 0.8);
    border-color: rgba(233, 30, 254, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tennis Match Header */
.tennis-match-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 8px;
}

.tennis-league-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.tennis-small-icon {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.league-name {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

.match-set-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.set-text {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 600;
}

.live-icon {
    width: 12px;
    height: 12px;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(0.85); 
    }
}

/* Tennis Players */
.tennis-players {
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
}

.tennis-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tennis-player:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.player-flag {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
}

.player-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-score {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.set-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.set-score sup {
    font-size: 9px;
    font-weight: 700;
    color: var(--purple-primary);
    margin-left: 2px;
}

.serve-indicator {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
}

.games-score {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 20px;
    text-align: center;
}

/* Tennis Winner Badge */
.tennis-winner-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tennis Odds */
.tennis-odds {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
}

.tennis-odd-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.tennis-odd-btn:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
}

.odd-number {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

.odd-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.tennis-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.tennis-more-btn:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--purple-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .tennis-matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .tennis-matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .league-tabs {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    
    .tennis-matches-grid {
        grid-template-columns: 1fr;
    }
    
    .tennis-match-card {
        padding: 14px;
    }
    
    .player-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tennis-title-wrapper h1 {
        font-size: 22px;
    }
    
    .league-tab {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .tennis-match-card {
        padding: 12px;
    }
    
    .league-name {
        font-size: 10px;
    }
    
    .player-name {
        font-size: 11px;
    }
    
    .set-score,
    .games-score {
        font-size: 12px;
    }
    
    .odd-value {
        font-size: 12px;
    }
}
/* Promotions Page Styles */
.promotions-page {
    padding: 24px 0;
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-primary);
}

/* Featured Promotion Banner */
.featured-promotion {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.15) 0%, rgba(0, 100, 200, 0.15) 100%);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.featured-promotion::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.featured-promo-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    z-index: 2;
}

.featured-promo-icon {
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.boost-icon {
    width: 100%;
    height: 150px;
    filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.5));
}

.featured-promo-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.featured-promo-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

.promo-code {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-learn-more {
    padding: 14px 32px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
    white-space: nowrap;
    z-index: 2;
}

.btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
}

/* Promotion Filter Tabs */
.promotion-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.promo-tab {
    padding: 11px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.promo-tab:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
}

.promo-tab.active {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border-color: transparent;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

/* Promotions Grid */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Promotion Card */
.promotion-card {
    background: rgba(42, 27, 61, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.theme-dark .promotion-card {
    background: rgba(31, 31, 31, 0.6);
}

.promotion-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 30, 254, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Promo Badge */
.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
    border-radius: 8px;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
}

/* Promo Image */
.promo-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.promotion-card:hover .promo-image img {
    transform: scale(1.05);
}

/* Promo Content */
.promo-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promo-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.promo-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.btn-learn-more-promo {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(233, 30, 254, 0.3);
    margin-bottom: 12px;
}

.btn-learn-more-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(233, 30, 254, 0.4);
}

.promo-expiry {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

/* Responsive Design for Promotions */
@media (max-width: 1400px) {
    .promotions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .page-wrapper {
        margin-left: 0;
        padding: 20px;
    }
    
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .featured-promotion {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .featured-promo-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 26px;
        margin-bottom: 24px;
    }
    
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .featured-promotion {
        padding: 20px;
    }
    
    .featured-promo-info h2 {
        font-size: 22px;
    }
    
    .featured-promo-info p {
        font-size: 13px;
    }
    
    .promotion-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    
    .promotion-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .promotion-tabs::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .promotion-tabs::-webkit-scrollbar-thumb {
        background: rgba(233, 30, 254, 0.3);
        border-radius: 2px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .featured-promotion {
        padding: 16px;
    }
    
    .featured-promo-info h2 {
        font-size: 18px;
    }
    
    .featured-promo-info p {
        font-size: 12px;
    }
    
    .btn-learn-more {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .promo-tab {
        padding: 9px 18px;
        font-size: 13px;
    }
    
    .promo-content {
        padding: 16px;
    }
    
    .promo-title {
        font-size: 16px;
    }
    
    .promo-description {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }
    
    .promo-image {
        height: 150px;
    }
}

/* ========================================
   REWARDS PAGE STYLES
   ======================================== */

/* Rewards Page Container */
.rewards-page {
    padding: 24px 0;
}

/* Rewards Header */
.rewards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rewards-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rewards-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rewards-main-icon {
    color: var(--accent);
    filter: drop-shadow(0 0 10px rgba(233, 30, 254, 0.5));
}

.rewards-balance {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.balance-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.balance-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-info-icon {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-info-icon:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Rank Progress Section */
.rank-progress-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Rank Card */
.rank-card,
.progress-card,
.next-rank-card,
.rakeback-card {
    background: rgba(42, 27, 61, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.theme-dark .rank-card,
.theme-dark .progress-card,
.theme-dark .next-rank-card,
.theme-dark .rakeback-card {
    background: rgba(31, 31, 31, 0.6);
}

.rank-card:hover,
.progress-card:hover,
.next-rank-card:hover,
.rakeback-card:hover {
    border-color: rgba(233, 30, 254, 0.2);
    transform: translateY(-2px);
}

.rank-label,
.progress-label,
.next-rank-label,
.rakeback-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.rank-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.rank-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.rank-icon {
    opacity: 0.6;
    transition: all 0.3s;
    max-height: 175px;
}

.rank-card:hover .rank-icon {
    opacity: 1;
    transform: scale(1.05);
}

/* Progress Card */
.progress-circle-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.progress-circle {
    transform: rotate(-90deg);
}

.progress-ring {
    transition: stroke-dashoffset 0.6s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.progress-total {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Next Rank Card */
.next-rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    flex: 1;
}

.next-rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s;
}

.next-rank-item:hover {
    background: rgba(233, 30, 254, 0.05);
    border-color: rgba(233, 30, 254, 0.2);
}

.next-rank-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.next-rank-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.btn-add-rank {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(233, 30, 254, 0.3);
    white-space: nowrap;
}

.btn-add-rank:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 254, 0.4);
}

.btn-add-rank svg {
    width: 14px;
    height: 14px;
}

.view-all-ranks {
    display: block;
    text-align: right;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.view-all-ranks:hover {
    transform: translateX(4px);
    opacity: 0.8;
}

/* Rakeback Card */
.rakeback-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.rakeback-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 16px 0;
}

.rakeback-icon {
    opacity: 0.7;
    transition: all 0.3s;
    max-height: 175px;
}

.rakeback-card:hover .rakeback-icon {
    opacity: 1;
    transform: scale(1.05);
}

.rakeback-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* Ranking Rewards Section */
.ranking-rewards-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.view-all-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.view-all-link:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

/* Rewards Table */
.rewards-table-wrapper {
    background: rgba(42, 27, 61, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.theme-dark .rewards-table-wrapper {
    background: rgba(31, 31, 31, 0.4);
}

.rewards-table {
    width: 100%;
    border-collapse: collapse;
}

.rewards-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.rewards-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rewards-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.rewards-table tbody tr:hover {
    background: rgba(233, 30, 254, 0.05);
}

.rewards-table tbody tr:last-child {
    border-bottom: none;
}

.rewards-table td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.rewards-table td:first-child {
    color: var(--text-muted);
    font-weight: 600;
}

.rank-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-cell svg {
    flex-shrink: 0;
}

.rank-cell span {
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Table Navigation */
.table-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-table-nav {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-table-nav:hover:not(:disabled) {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-table-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Bonus Cards Grid */
.bonus-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Bonus Card */
.bonus-card {
    background: rgba(42, 27, 61, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 300px;
}

.theme-dark .bonus-card {
    background: rgba(31, 31, 31, 0.6);
}

.bonus-card:hover {
    border-color: rgba(233, 30, 254, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.bonus-card.active {
    border-color: rgba(233, 30, 254, 0.4);
    box-shadow: 0 0 30px rgba(233, 30, 254, 0.2);
}

.bonus-card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bonus-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.btn-bonus-info {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-bonus-info:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.bonus-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.bonus-icon-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
}

.bonus-icon {
    transition: all 0.3s;
    opacity: 0.8;
    max-height: 150px;
}

.bonus-card:hover .bonus-icon {
    opacity: 1;
    transform: scale(1.05);
}

.btn-claim-bonus {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(233, 30, 254, 0.3);
    margin-top: auto;
}

.btn-claim-bonus:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(233, 30, 254, 0.4);
}

.btn-claim-bonus:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

/* Bonus Card Specific Styles */
.rakeback-bonus {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
}

.daily-bonus {
    background: linear-gradient(135deg, rgba(233, 30, 254, 0.05) 0%, rgba(192, 30, 254, 0.05) 100%);
}

.weekly-bonus {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 140, 0, 0.08) 100%);
}

.premonthly-bonus {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.05) 0%, rgba(107, 114, 128, 0.05) 100%);
}

.monthly-bonus {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06) 0%, rgba(255, 193, 7, 0.06) 100%);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1600px) {
    .rank-progress-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bonus-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .rank-progress-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bonus-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .rewards-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .rank-progress-section {
        grid-template-columns: 1fr;
    }
    
    .bonus-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rewards-table-wrapper {
        overflow-x: auto;
    }
    
    .rewards-table {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    .rewards-page {
        padding: 16px 0;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .rewards-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .rewards-balance {
        width: 100%;
        justify-content: space-between;
    }
    
    .rank-progress-section {
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .rank-card,
    .progress-card,
    .next-rank-card,
    .rakeback-card {
        padding: 20px;
    }
    
    .rank-name {
        font-size: 20px;
    }
    
    .progress-amount {
        font-size: 24px;
    }
    
    .rakeback-title {
        font-size: 24px;
    }
    
    .ranking-rewards-section {
        margin-bottom: 32px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .rewards-table th {
        padding: 12px 16px;
        font-size: 10px;
    }
    
    .rewards-table td {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .bonus-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .bonus-card {
        padding: 16px;
        min-height: 260px;
    }
    
    .bonus-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }
    
    .rewards-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .rewards-main-icon {
        width: 24px;
        height: 24px;
    }
    
    .balance-label {
        font-size: 11px;
    }
    
    .balance-amount {
        font-size: 14px;
    }
    
    .rank-progress-section {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .rank-card,
    .progress-card,
    .next-rank-card,
    .rakeback-card {
        padding: 16px;
    }
    
    .rank-name {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .progress-circle {
        width: 160px;
        height: 160px;
    }
    
    .progress-amount {
        font-size: 20px;
    }
    
    .progress-total {
        font-size: 12px;
    }
    
    .next-rank-item {
        padding: 8px 10px;
    }
    
    .next-rank-name {
        font-size: 12px;
    }
    
    .btn-add-rank {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .rakeback-title {
        font-size: 20px;
    }
    
    .rakeback-description {
        font-size: 11px;
    }
    
    .section-header h2 {
        font-size: 16px;
    }
    
    .view-all-link {
        font-size: 12px;
    }
    
    .rewards-table th {
        padding: 10px 12px;
        font-size: 9px;
    }
    
    .rewards-table td {
        padding: 12px;
        font-size: 12px;
    }
    
    .rank-cell {
        gap: 8px;
    }
    
    .rank-cell svg {
        width: 16px;
        height: 16px;
    }
    
    .bonus-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bonus-card {
        padding: 14px;
        min-height: 240px;
    }
    
    .bonus-title {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .bonus-icon {
        width: 60px;
        height: 60px;
    }
    
    .btn-claim-bonus {
        padding: 10px;
        font-size: 13px;
    }
}

/* Affiliate Hero Section */
.affiliate-hero {
    background: linear-gradient(135deg, rgba(233, 30, 254, 0.1) 0%, rgba(192, 30, 254, 0.05) 100%);
    border: 1px solid rgba(233, 30, 254, 0.2);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.affiliate-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 30, 254, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.affiliate-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.affiliate-hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.affiliate-hero-title {
    display: flex;
    gap: 5px;
}

.affiliate-icon {
    width: 64px;
    height: 64px;
}

.affiliate-icon img {
    width: 100%;
    height: 100%;
}

.affiliate-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #E91EFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.affiliate-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.affiliate-code-section {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.input-code {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s;
}

.input-code:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.input-code::placeholder {
    color: var(--text-muted);
}

.btn-set-code {
    padding: 16px 40px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
    white-space: nowrap;
}

.btn-set-code:hover {
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
    transform: translateY(-2px);
}

.affiliate-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Stats Section */
.affiliate-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(233, 30, 254, 0.3);
    transform: translateY(-2px);
}

.stat-card-highlight {
    border-color: rgba(233, 30, 254, 0.3);
    background: linear-gradient(135deg, rgba(233, 30, 254, 0.1) 0%, rgba(192, 30, 254, 0.05) 100%);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.stat-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value svg {
    color: var(--accent);
    opacity: 0.8;
}

.stat-value .currency {
    font-size: 20px;
    color: var(--text-secondary);
}

.stat-value-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.btn-claim {
    padding: 10px 24px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
    white-space: nowrap;
}

.btn-claim:hover {
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
    transform: translateY(-2px);
}

/* Referrals Section */
.referrals-section {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.referrals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.referrals-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.referrals-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.search-box input {
    padding: 12px 16px 12px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    min-width: 240px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-dropdown label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sort-dropdown select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-dropdown select:focus {
    outline: none;
    border-color: var(--accent);
}

.sort-dropdown select option {
    background: var(--card-bg);
    color: var(--text-primary);
}

.referrals-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.referrals-empty svg {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.referrals-empty p {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .affiliate-hero-content {
        grid-template-columns: 1fr;
    }
    
    .affiliate-hero-image {
        order: -1;
    }
    
    .affiliate-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .affiliate-hero {
        padding: 32px 24px;
    }
    
    .affiliate-title {
        font-size: 32px;
    }
    
    .affiliate-subtitle {
        font-size: 16px;
    }
    
    .affiliate-code-section {
        flex-direction: column;
    }
    
    .btn-set-code {
        width: 100%;
    }
    
    .affiliate-stats {
        grid-template-columns: 1fr;
    }
    
    .referrals-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .referrals-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .sort-dropdown {
        width: 100%;
        justify-content: space-between;
    }
}

/* Account Page Styles */

/* Account Wrapper */
.account-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    min-height: calc(100vh - 70px);
}

/* Account Sidebar */
.account-sidebar {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 16px;
    height: fit-content;
    position: sticky;
    top: 94px;
}

.account-sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

.account-avatar img {
    width: 110%;
    height: 100%;
    object-fit: cover;
}

.account-user-info {
    text-align: center;
}

.account-username {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.account-level {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.level-badge {
    padding: 4px 12px;
    background: rgba(233, 30, 254, 0.2);
    border: 1px solid var(--accent);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.level-progress {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Account Navigation */
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.account-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.account-nav-item:hover {
    background: rgba(233, 30, 254, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

.account-nav-item.active {
    background: rgba(233, 30, 254, 0.15);
    color: var(--text-primary);
}

.account-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
}

.account-nav-logout {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.account-nav-logout:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #FF4444;
}

/* Account Content */
.account-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile Header */
.profile-header {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.profile-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(233, 30, 254, 0.2) 0%, rgba(192, 30, 254, 0.1) 100%);
    overflow: hidden;
}

.banner-image {
    width: 20%;
    height: auto;
}

.btn-edit-cover {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-edit-cover:hover {
    background: rgba(233, 30, 254, 0.3);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Profile Info Wrapper */
.profile-info-wrapper {
    padding: 0 20px 20px;
}

/* Complete Profile Banner */
.profile-complete-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    margin: -40px 0 24px;
    background: rgba(233, 30, 254, 0.15);
    border: 1px solid rgba(233, 30, 254, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.profile-complete-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.profile-complete-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.btn-complete-profile {
    padding: 12px 28px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-complete-profile:hover {
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
    transform: translateY(-2px);
}

/* Profile Main Info */
.profile-main-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.profile-avatar-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
    flex-shrink: 0;
}

.profile-avatar-large img {
    width: 110%;
    height: 100%;
    object-fit: cover;
}

.profile-identity {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-username {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.verified-icon,
.copy-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-icon {
    color: var(--text-secondary);
}

.copy-icon:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.profile-id {
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
    margin: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    width: fit-content;
}

.btn-edit-bio {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
}

.btn-edit-bio:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Profile Stats */
.profile-stats {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.profile-stat-item:hover {
    background: rgba(233, 30, 254, 0.05);
    border-color: rgba(233, 30, 254, 0.2);
}

.profile-stat-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-more-options {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-more-options:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-more-options svg {
    color: var(--text-secondary);
}

/* Balance Section */
.balance-section {
    width: 100%;
}

.balance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.balance-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #E91EFE 0%, #C01EFE 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.balance-card:hover {
    border-color: rgba(233, 30, 254, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.balance-card:hover::before {
    opacity: 1;
}

.balance-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.balance-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.balance-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .balance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .account-wrapper {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 24px;
        padding: 20px;
    }
    
    .account-sidebar-header {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        padding-right: 24px;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .account-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 992px) {
    .profile-main-info {
        flex-direction: column;
        gap: 24px;
    }
    
    .profile-stats {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .profile-info-wrapper {
        padding: 0 20px 20px;
    }
    
    .profile-complete-banner {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
        margin-top: -30px;
    }
    
    .btn-complete-profile {
        width: 100%;
    }
    
    .profile-avatar-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-identity {
        align-items: center;
    }
    
    .btn-edit-bio {
        align-self: center;
    }
    
    .balance-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-stats {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-stat-item {
        width: 100%;
    }
    
    .account-sidebar {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar-header {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 16px;
    }
    
    .account-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .profile-banner {
        height: 120px;
    }
    
    .profile-avatar-large {
        width: 90px;
        height: 90px;
    }
    
    .profile-username {
        font-size: 20px;
    }
    
    .profile-name-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .balance-amount {
        font-size: 24px;
    }
}

/* Settings Page Styles */

/* Settings Content */
.settings-content {
    width: 100%;
}

/* Settings Header */
.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.settings-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.settings-header-actions {
    display: flex;
    gap: 12px;
}

.btn-header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    color: var(--text-primary);
}

.btn-header-action svg {
    width: 18px;
    height: 18px;
}

.btn-header-action:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-affiliates {
    border-color: rgba(233, 30, 254, 0.3);
    background: rgba(233, 30, 254, 0.1);
}

.btn-affiliates:hover {
    background: rgba(233, 30, 254, 0.2);
    border-color: var(--accent);
}

.btn-vault {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

.btn-vault:hover {
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
}

/* Public ID Section */
.settings-public-id {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

.settings-public-id strong {
    color: var(--text-primary);
    font-family: monospace;
    font-weight: 600;
}

.settings-public-id svg {
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.settings-public-id svg:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.member-since {
    margin-left: auto;
    color: var(--text-muted);
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.settings-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Settings Card */
.settings-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.settings-card:hover {
    border-color: rgba(233, 30, 254, 0.2);
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.settings-card-header svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.settings-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.btn-edit-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(233, 30, 254, 0.15);
    border: 1px solid rgba(233, 30, 254, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edit-profile svg {
    width: 16px;
    height: 16px;
}

.btn-edit-profile:hover {
    background: rgba(233, 30, 254, 0.25);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.settings-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(233, 30, 254, 0.1);
}

.form-input:read-only {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Toggle Item */
.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.toggle-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(233, 30, 254, 0.2);
}

.toggle-info {
    display: flex;
    gap: 12px;
    flex: 1;
}

.toggle-info > svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.toggle-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toggle-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-text p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-secondary);
    transition: all 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border-color: transparent;
    box-shadow: 0 0 10px rgba(233, 30, 254, 0.3);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
    background: white;
}

.toggle-slider:hover {
    background: rgba(255, 255, 255, 0.15);
}

.toggle-switch input:checked + .toggle-slider:hover {
    background: linear-gradient(135deg, #F02EFF 0%, #D02EFF 100%);
}

/* Verification Levels */
.verification-level {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.verification-level:hover {
    background: rgba(233, 30, 254, 0.05);
    border-color: rgba(233, 30, 254, 0.2);
}

.verification-level > svg:first-child {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.verification-level span {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.verification-level .chevron {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.verification-level:hover .chevron {
    transform: translateY(2px);
}

/* Security Item */
.security-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(233, 30, 254, 0.2);
}

.security-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-info strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-not-verified {
    background: rgba(255, 68, 68, 0.15);
    color: #FF4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.security-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.btn-security-action {
    padding: 10px 20px;
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
    align-self: flex-start;
}

.btn-security-action:hover {
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
    transform: translateY(-2px);
}

.security-info-toggle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.security-info-toggle > div {
    flex: 1;
}

.security-info-toggle strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

/* Empty State */
.empty-state {
    padding: 40px 20px;
    text-align: center;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .settings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .settings-title {
        font-size: 26px;
    }

    .settings-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-header-action {
        width: 100%;
        justify-content: center;
    }

    .settings-public-id {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .member-since {
        margin-left: 0;
    }

    .settings-card-header {
        padding: 16px;
    }

    .settings-card-body {
        padding: 16px;
    }

    .toggle-item {
        flex-direction: column;
        gap: 12px;
    }

    .toggle-switch {
        align-self: flex-start;
    }

    .security-info-toggle {
        flex-direction: column;
    }

    .btn-security-action {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .settings-title {
        font-size: 22px;
    }

    .btn-edit-profile span {
        display: none;
    }

    .btn-edit-profile {
        padding: 8px 12px;
    }

    .toggle-info {
        flex-direction: column;
        gap: 8px;
    }

    .toggle-info > svg {
        margin-top: 0;
    }
}

.license-badge {
    opacity: 0;
}