/* Betting Site Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --secondary-color: #34a853;
    --accent-color: #fbbc04;
    --danger-color: #ea4335;
    --success-color: #34a853;
    --warning-color: #ff9800;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #9aa0a6;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e8eaed;
    --bg-dark: #202124;
    --border-color: #dadce0;
    --shadow-light: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-medium: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-heavy: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --border-radius: 8px;
    --border-radius-small: 4px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    font-size: 16px;
}

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

/* Header */
.header {
    background: #1a1a1a;
    color: #ffffff;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
    border-radius: var(--border-radius-small);
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.logo-text .subtitle {
    font-size: 14px;
    color: #bdc1c6;
    font-weight: 400;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    backdrop-filter: blur(10px);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-small);
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-balance {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-label {
    font-size: 14px;
    color: #1c1d1e;
    font-weight: 500;
}

.balance-amount {
    font-size: 16px;
    font-weight: 600;
    color: #070707;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-dropdown {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.user-avatar:hover {
    background: var(--primary-dark);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--text-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 8px 0;
    min-width: 150px;
    display: none;
    z-index: 1001;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius-small);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 14px;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--text-primary);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* Main Content */
.main-content {
    padding: 32px 0;
}

/* Sports Navigation */
.sports-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.sport-tab {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.sport-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.sport-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.sport-tab i {
    font-size: 18px;
}

.sport-tab span {
    font-size: 14px;
    font-weight: 600;
}

/* Events Section */
.events-section {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin: 0;
}

.events-count {
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.loading-state p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Error State */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.error-state i {
    font-size: 48px;
    color: var(--danger-color);
    margin-bottom: 16px;
}

.error-state h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.error-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.event-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.event-header {
    margin-bottom: 16px;
}

.event-teams {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.event-time {
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: var(--border-radius-small);
    display: inline-block;
}

.event-odds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.odd-item {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
}

.odd-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.odd-item.selected {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.odd-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.odd-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.odd-item:hover .odd-label,
.odd-item:hover .odd-value,
.odd-item.selected .odd-label,
.odd-item.selected .odd-value {
    color: white;
}

/* Double Odds */
.double-odds {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.double-odds-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.double-odds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.double-odd-item {
    text-align: center;
    padding: 8px 6px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.double-odd-item:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.double-odd-item.selected {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.double-odd-label {
    font-size: 10px;
    color: var(--text-light);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.double-odd-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.double-odd-item:hover .double-odd-label,
.double-odd-item:hover .double-odd-value,
.double-odd-item.selected .double-odd-label,
.double-odd-item.selected .double-odd-value {
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 16px;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer p {
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Bet Slip */
.bet-slip-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.bet-slip-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.bet-slip-empty p {
    font-size: 18px;
    margin-bottom: 8px;
}

.bet-slip-empty span {
    font-size: 14px;
}

.bet-slip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-small);
    margin-bottom: 12px;
}

.bet-slip-item-info {
    flex: 1;
}

.bet-slip-item-teams {
    font-weight: 600;
    margin-bottom: 4px;
}

.bet-slip-item-bet {
    font-size: 14px;
    color: var(--text-secondary);
}

.bet-slip-item-odds {
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 16px;
}

.bet-slip-item-remove {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.bet-summary {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.summary-row input {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    text-align: right;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0 24px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc1c6;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    text-decoration: underline;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    align-items: center;
}

.payment-icon {
    height: 32px;
    width: auto;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    background: white;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.footer-logo-section {
    margin-top: 20px;
    text-align: center;
}

.footer-logo-image {

    width: 100%;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.footer-logo-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-section p {
    color: #bdc1c6;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

.footer-section strong {
    color: white;
    font-weight: 600;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-logo {
    margin-top: 20px;
    text-align: center;
}

.footer-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.footer-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid #3c4043;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc1c6;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-bottom strong {
    color: white;
    font-weight: 600;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    
    .logo {
        justify-content: flex-start;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
    }
    
    .user-section {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        padding: 16px;
        box-shadow: var(--shadow-medium);
        z-index: 999;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        backdrop-filter: blur(10px);
    }
    
    .user-section.active {
        display: flex;
    }
    
    .sports-nav {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .sport-tab {
        padding: 12px 16px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .event-card {
        padding: 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .events-count {
        align-self: flex-end;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .user-info {
        gap: 4px;
    }
    
    .user-menu {
        gap: 4px;
    }
    
    .user-balance {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .sport-tab {
        padding: 10px 12px;
    }
    
    .sport-tab i {
        font-size: 16px;
    }
    
    .sport-tab span {
        font-size: 13px;
    }
    
    .event-card {
        padding: 12px;
    }
    
    .event-teams {
        font-size: 16px;
    }
    
    .odd-value {
        font-size: 16px;
    }
    
    .user-info {
        flex-direction: row;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .user-menu {
        flex-direction: row;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .footer-image {
        max-width: 80px;
    }
    
    .payment-icon {
        height: 28px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
}

/* Profile Page Styles */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 32px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.profile-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.profile-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    width: fit-content;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.notification-area {
    margin-bottom: 24px;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 16px;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.notification.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    margin-left: 16px;
}

.profile-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--bg-secondary);
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 500;
}

.profile-tab:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.profile-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-secondary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.stat-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.recent-activity {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.recent-activity h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-small);
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.activity-icon.success {
    background: #d4edda;
    color: #28a745;
}

.activity-icon.error {
    background: #f8d7da;
    color: #dc3545;
}

.activity-icon.warning {
    background: #fff3cd;
    color: #ffc107;
}

.activity-icon.info {
    background: #d1ecf1;
    color: #17a2b8;
}

.activity-content p {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.activity-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.bet-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bet-history-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
}

.bet-history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.bet-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.bet-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
}

.bet-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.bet-details {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bet-amount, .bet-potential {
    text-align: center;
}

.bet-amount .label, .bet-potential .label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.bet-amount .value, .bet-potential .value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.status {
    padding: 4px 12px;
    border-radius: var(--border-radius-small);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.success {
    background: #d4edda;
    color: #28a745;
}

.status.error {
    background: #f8d7da;
    color: #dc3545;
}

.status.warning {
    background: #fff3cd;
    color: #ffc107;
}

.no-bets {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}

.no-bets i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.settings-section {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 24px;
}

.settings-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.settings-form, .deposit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .profile-actions {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .bet-item {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .bet-details {
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-tabs {
        flex-wrap: wrap;
    }
    
    .profile-tab {
        flex: 1;
        min-width: 120px;
    }
}

/* Notification Styles */
.notification-area {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 16px;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.notification.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    margin-left: 16px;
    transition: var(--transition);
}

.notification-close:hover {
    opacity: 0.7;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive for Notifications */
@media (max-width: 768px) {
    .notification-area {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Page-specific styles for new pages */
.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--bg-secondary);
}

.page-header {
    text-align: center;
    padding: 40px 0;
    background: var(--bg-primary);
    margin-bottom: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.section-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.section-card:hover {
    box-shadow: var(--shadow-medium);
}

.section-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-card h2 i {
    color: var(--primary-color);
}

.section-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.section-card ul {
    color: var(--text-secondary);
    margin-left: 20px;
    margin-bottom: 16px;
}

.section-card li {
    margin-bottom: 8px;
}

.section-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.section-card.highlight h2,
.section-card.highlight p {
    color: white;
}

.highlight-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Tools grid for responsible gambling */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tool-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.tool-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tool-card h3 i {
    color: var(--primary-color);
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Contact cards */
.help-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card h3 i {
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Warning list */
.warning-list {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 16px 0;
}

.warning-list li {
    color: #856404;
    font-weight: 500;
}

/* Help list */
.help-list {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 16px 0;
}

.help-list li {
    color: #0c5460;
    font-weight: 500;
}

/* Resources grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.resource-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.resource-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--text-secondary);
}

/* Contact methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-method {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-method h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-method h3 i {
    color: var(--primary-color);
}

.contact-method p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Timeline */
.timeline {
    margin-top: 20px;
}

.timeline-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color);
}

.timeline-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-secondary);
}

/* External bodies */
.external-bodies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.external-body {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.external-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.external-body h3 i {
    color: var(--secondary-color);
}

.external-body p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.external-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.external-body a:hover {
    text-decoration: underline;
}

/* Dispute types */
.dispute-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dispute-type {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.dispute-type:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.dispute-type h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dispute-type h3 i {
    color: var(--primary-color);
}

.dispute-type p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Important info */
.important-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--warning-color);
}

.info-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item h3 i {
    color: var(--warning-color);
}

.info-item p {
    color: var(--text-secondary);
}

/* Limit types */
.limit-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.limit-type {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
}

.limit-type h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.limit-type h3 i {
    color: var(--primary-color);
}

.limit-type p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.limit-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.limit-example {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: var(--border-radius-small);
    font-size: 14px;
    font-weight: 500;
}

/* Steps */
.steps {
    margin-top: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-secondary);
}

/* Current limits */
.current-limits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.current-limit {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.current-limit h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.limit-display {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.limit-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* History summary */
.history-summary {
    margin-top: 20px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
}

.period {
    font-weight: 500;
    color: var(--text-primary);
}

.amount {
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ */
.faq {
    margin-top: 20px;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-secondary);
}

/* Regulatory bodies */
.regulatory-bodies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.regulatory-body {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.regulatory-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.regulatory-body h3 i {
    color: var(--primary-color);
}

.regulatory-body p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.regulatory-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.regulatory-body a:hover {
    text-decoration: underline;
}

/* Operator info */
.operator-info {
    margin-top: 20px;
}

.operator-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.operator-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
}

.detail-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item h4 i {
    color: var(--primary-color);
}

.detail-item p {
    color: var(--text-secondary);
}

/* Compliance standards */
.compliance-standards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.standard-item {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.standard-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.standard-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.standard-item h3 i {
    color: var(--primary-color);
}

.standard-item p {
    color: var(--text-secondary);
}

/* Jurisdictions */
.jurisdictions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.jurisdiction {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
}

.jurisdiction h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.jurisdiction h3 i {
    color: var(--primary-color);
}

.jurisdiction p {
    color: var(--text-secondary);
}

/* Protection measures */
.protection-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.protection-item {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.protection-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.protection-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.protection-item h3 i {
    color: var(--primary-color);
}

.protection-item p {
    color: var(--text-secondary);
}

/* Contact info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-item h3 i {
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive styles for new pages */
@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .page-header {
        padding: 24px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .section-card {
        padding: 20px;
    }
    
    .section-card h2 {
        font-size: 20px;
    }
    
    .tools-grid,
    .help-contacts,
    .resources-grid,
    .contact-methods,
    .external-bodies,
    .dispute-types,
    .important-info,
    .limit-types,
    .current-limits,
    .regulatory-bodies,
    .operator-details,
    .compliance-standards,
    .jurisdictions,
    .protection-measures,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .limit-display {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .history-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

