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

/* Base */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: radial-gradient(ellipse at top, rgba(45,27,78,0.95) 0%, rgba(26,10,46,1) 60%), #14061a;
  min-height: 100vh;
  color: #fff;
}

/* Layout helpers to keep content above decorative backgrounds */
.header, .main-content, .main-container { position: relative; z-index: 1; }

/* Header */
.header {
  background: #000;
  padding: 15px 30px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid rgba(255,255,255,0.06);
}
.logo-section { display:flex; align-items:center; gap:15px; }
.logo-circle {
  width:60px; height:60px; border-radius:50%; overflow:hidden;
  background:#c41e3a; display:flex; align-items:center; justify-content:center;
  border:3px solid rgba(255,255,255,0.06);
}
.site-logo { width:100%; height:100%; object-fit:cover; display:block; }
.site-name { color:#fff; font-size:20px; text-transform:uppercase; letter-spacing:2px; font-weight:700; }
.header-buttons { display:flex; gap:15px; align-items:center; }
.btn { cursor:pointer; transition:all .28s ease; }

/* Primary buttons */
.btn { padding:10px 22px; border-radius:22px; font-weight:700; text-transform:uppercase; border:2px solid transparent; }
.btn-login, .btn-register, .btn-deposit, .btn-withdraw { background:#c41e3a; color:#fff; border-color:rgba(255,255,255,0.06); }
.btn-login:hover,.btn-register:hover,.btn-deposit:hover,.btn-withdraw:hover { background:#a01728; transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,0.25); }
.notification-icon { width:40px; height:40px; background:#fff; border-radius:8px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.notification-icon:hover { transform:scale(1.08); }

/* Main container and sidebar */
.main-container { display:flex; min-height:calc(100vh - 90px); }
.sidebar { width:220px; background:rgba(0,0,0,0.4); padding:20px 0; display:flex; flex-direction:column; border-right:2px solid rgba(212,175,55,0.12); }
.sidebar-item { display:flex; align-items:center; gap:15px; padding:15px 20px; color:#fff; text-decoration:none; border-left:3px solid transparent; transition:all .2s ease; }
.sidebar-item .icon{ font-size:24px; }
.sidebar-item .text{ font-size:18px; font-weight:700; }
.sidebar-item:hover{ background:rgba(212,175,55,0.06); }
.sidebar-item.active{ background:rgba(212,175,55,0.08); border-left-color:rgba(212,175,55,0.18); }
.balance-card{ margin:20px; background:rgba(0,0,0,0.6); border-radius:12px; padding:15px; display:flex; gap:10px; border:1px solid rgba(255,255,255,0.04); }
.balance-label{ color:#f0cf5a; font-weight:700; }
.sidebar-footer{ margin-top:auto; padding:20px; text-align:center; color:rgba(255,255,255,0.6); font-size:12px; }

/* Main content */
.main-content { flex:1; padding:40px; overflow-y:auto; }

/* Welcome panel */
.welcome-section{ max-width:820px; margin:0 auto 50px; background:rgba(36,22,48,0.85); padding:40px 60px; border-radius:20px; border:1px solid rgba(255,255,255,0.03); text-align:center; }
.welcome-title{ font-family:'Orbitron',sans-serif; font-size:44px; color:#f0cf5a; text-transform:uppercase; letter-spacing:3px; margin-bottom:18px; }
.warning-box{ max-width:660px; margin:0 auto; text-align:center; }
.warning-icon{ width:40px; height:40px; border-radius:50%; border:2px solid #fff; display:inline-flex; align-items:center; justify-content:center; }

/* Sections */
.section-title{ font-family:'Orbitron',sans-serif; font-size:28px; color:#f0cf5a; text-transform:uppercase; text-align:center; margin-bottom:18px; }
.tagline{ text-align:center; color:#f0cf5a; font-style:italic; margin-top:18px; }
.featured-section, .why-choose-section{ background:rgba(0,0,0,0.5); border-radius:20px; padding:30px; margin-bottom:30px; border:1px solid rgba(255,255,255,0.04); }

/* Games grid (login page) */
.games-grid{ display:grid; grid-template-columns:repeat(3,240px); gap:40px 44px; max-width:880px; margin:0 auto; justify-content:center; }
.game-card, .game-item{ text-align:center; cursor:pointer; }
.game-image{ width:160px; height:160px; border-radius:20px; object-fit:cover; display:block; margin:0 auto 12px; box-shadow:0 12px 30px rgba(0,0,0,0.55); transition:all .28s ease; }
.game-card:hover .game-image{ transform:scale(1.03); box-shadow:0 10px 30px rgba(0,0,0,0.6); }
.game-name{ font-family:'Orbitron',sans-serif; color:#fff; font-weight:700; margin-top:6px; }

/* Game tiles (game.html) */
.games-title{ font-size:36px; color:#f0cf5a; text-align:center; margin-bottom:40px; text-transform:uppercase; }
.games-grid.game-page { grid-template-columns:repeat(3,1fr); max-width:1000px; }
.game-card.game-page{ background:rgba(0,0,0,0.4); border-radius:20px; padding:10px; border:1px solid rgba(255,255,255,0.04); }

/* Modal (auth) */
.modal{ display:none; position:fixed; inset:0; background:rgba(0,0,0,0.8); z-index:1000; }
.modal-content{ background:linear-gradient(135deg,#1a0a2e 0%,#2d1b4e 100%); margin:5% auto; padding:40px; border-radius:20px; max-width:450px; border:2px solid rgba(212,175,55,0.14); }
.modal-title{ text-align:center; font-size:28px; color:#f0cf5a; margin-bottom:20px; font-family:'Orbitron',sans-serif; }
.close-btn{ color:#f0cf5a; font-size:34px; cursor:pointer; float:right; }
.form-group label{ color:#f0cf5a; font-weight:700; }
.form-group input{ width:100%; padding:12px 14px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.06); border-radius:8px; color:#fff; }
.submit-btn{ width:100%; padding:14px; border-radius:8px; border:none; background:linear-gradient(135deg,#f0cf5a,#f4d03f); color:#1a0033; font-weight:700; }

/* Toasts */
#toast-container{ position:fixed; right:20px; top:20px; z-index:2000; pointer-events:none; }
#toast-container .toast{ pointer-events:auto; background:#333; color:#fff; padding:10px 14px; border-radius:8px; margin-top:8px; box-shadow:0 6px 18px rgba(0,0,0,0.35); }

/* Profile */
.profile-container{ background:rgba(45,27,78,0.6); border-radius:30px; padding:50px; display:flex; gap:50px; border:1px solid rgba(255,255,255,0.04); }
.profile-avatar-img{ width:160px; height:160px; object-fit:cover; border-radius:18px; display:block; margin:0 auto; border:6px solid rgba(212,175,55,0.12); background:#fff; }
.player-name{ font-size:32px; color:#fff; }
.info-item{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid rgba(255,255,255,0.03); }
.action-buttons{ display:flex; gap:15px; margin-top:30px; }
.btn-edit, .btn-logout{ flex:1; padding:12px 20px; border-radius:8px; border:none; font-weight:700; cursor:pointer; }
.btn-edit{ background:#c41e3a; color:#fff; border:2px solid rgba(255,255,255,0.06); }
.btn-logout{ background:#c41e3a; color:#fff; border:2px solid rgba(255,255,255,0.06); }

/* Game modal */
.game-modal{ display:none; position:fixed; inset:0; background:rgba(0,0,0,0.95); z-index:1000; }
.game-modal-content{ margin:5% auto; max-width:800px; text-align:center; position:relative; }
.modal-game-image{ width:100%; max-width:800px; border-radius:20px; border:3px solid rgba(212,175,55,0.12); }
.close-modal{ position:absolute; top:-40px; right:0; font-size:40px; color:#f0cf5a; cursor:pointer; }

/* Responsive rules */
@media (max-width:1024px){ .games-grid, .games-grid.game-page{ grid-template-columns:repeat(2,1fr); } .profile-container{ flex-direction:column; } }
@media (max-width:768px){ .main-container{ flex-direction:column; } .games-grid{ grid-template-columns:repeat(2,1fr); gap:20px; } .welcome-title{ font-size:24px; } .logo-circle{ width:50px; height:50px; } }

.warning-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-top: 5px;
}

.warning-text {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}

/* Games Section */
.games-section {
    margin-top: 50px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #f0cf5a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 auto 30px;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 240px);
    gap: 44px 48px; /* slightly larger gaps for bigger tiles */
    max-width: 880px;
    margin: 0 auto;
    justify-content: center;
}

.game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.28s ease;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-image {
    width: 160px;
    height: 160px;
    border-radius: 22px;
    margin: 0 auto 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.55), 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: block;
    object-fit: cover; /* ensure the image fills the box */
}

.game-card:hover .game-image {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    transform: scale(1.03);
}

.game-name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: none;
    margin-top: 6px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    margin: 5% auto;
    padding: 40px;
    border: 2px solid #d4af37;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.5);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    color: #d4af37;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 20px;
}

.close-btn:hover {
    color: #ffd700;
}

.modal-title {
    text-align: center;
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 30px;
    text-transform: uppercase;
    clear: both;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #d4af37;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    color: #2ecc71;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    border-radius: 8px;
    color: #1a0033;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.switch-auth {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 14px;
}

.switch-auth a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.switch-auth a:hover {
    color: #ffd700;
}

.demo-info {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .welcome-title {
        font-size: 28px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    /* match login/index radial background */
    background: radial-gradient(ellipse at top, rgba(45,27,78,0.95) 0%, rgba(26,10,46,1) 60%), #14061a;
    min-height: 100vh;
    color: #fff;
}

/* Header */
.header {
    background: #000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0,0,0,0.3); /* neutral header border */
}

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

.logo-circle {
    width: 60px;
    height: 60px;
    background: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.06); /* subtle neutral border */
}

.logo-circle span {
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
}

.site-name {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-deposit {
    background: #c41e3a;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.06);
}

.btn-withdraw {
    background: #c41e3a;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.06);
}

.btn-deposit:hover, .btn-withdraw:hover {
    background: #a01728;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.35);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 20px;
}

.notification-icon:hover {
    transform: scale(1.1);
}

/* Main Container */
.main-container {
    display: flex;
    min-height: calc(100vh - 90px);
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: rgba(0, 0, 0, 0.4);
    border-right: 2px solid rgba(212, 175, 55, 0.3);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-item.active {
    background: rgba(212, 175, 55, 0.2);
    border-left-color: #d4af37;
}

.sidebar-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: #d4af37;
}

.sidebar-item .icon {
    font-size: 24px;
}

.sidebar-item .text {
    font-size: 18px;
    font-weight: bold;
}

.balance-card {
    margin: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-icon {
    font-size: 30px;
}

.balance-info {
    flex: 1;
}

.balance-label {
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
}

.balance-amount {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.welcome-section {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.welcome-title {
    font-size: 36px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(212, 175, 55, 0.5);
}

.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.warning-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.warning-text {
    font-size: 13px;
    line-height: 1.6;
    color: #fff;
}

.tagline {
    text-align: center;
    color: #d4af37;
    font-size: 18px;
    margin-top: 20px;
    font-style: italic;
}

.featured-section, .why-choose-section {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.section-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 22px;
    color: #fff;
    margin-bottom: 20px;
    text-decoration: underline;
}

.featured-list, .features-list {
    list-style: none;
    padding-left: 20px;
}

.featured-list li, .features-list li {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.featured-list li::before, .features-list li::before {
    content: "•";
    color: #d4af37;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -4px;
}

.game-highlight {
    color: #d4af37;
    font-weight: bold;
}

.play-now-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a0033;
    border: none;
    padding: 18px 60px;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.play-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
}

/* Toast notifications */
#toast-container { pointer-events: none; }
#toast-container .toast { pointer-events: auto; }

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

body {
    font-family: 'Orbitron', 'Arial', sans-serif;
    background: linear-gradient(180deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    min-height: 100vh;
    color: #fff;
}

/* Header */
.header {
    background: #000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255,255,255,0.06);
}

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

.logo-circle {
    width: 60px;
    height: 60px;
    background: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.06);
}

.logo-circle span {
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
}

.site-name {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

/* Main Container */
.main-container {
    display: flex;
    min-height: calc(100vh - 90px);
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: rgba(0, 0, 0, 0.4);
    border-right: 2px solid rgba(212, 175, 55, 0.3);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-item.active {
    background: rgba(212, 175, 55, 0.2);
    border-left-color: #d4af37;
}

.sidebar-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: #d4af37;
}

.sidebar-item .icon {
    font-size: 24px;
}

.sidebar-item .text {
    font-size: 18px;
    font-weight: bold;
}

.balance-card {
    margin: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-icon {
    font-size: 30px;
}

.balance-info {
    flex: 1;
}

.balance-label {
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
}

.balance-amount {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.profile-container {
    background: rgba(45, 27, 78, 0.6);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    gap: 50px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

/* Profile Left Section */
.profile-left {
    flex: 1;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 30px;
}

/* Avatar image styling */
.profile-avatar-img {
    width: 160px;
    height: 160px;
    border-radius: 18px; /* match overall UI rounded look */
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 6px solid #d4af37;
    background: white;
}

.player-info {
    text-align: center;
    margin-bottom: 40px;
}

.player-name {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
}

.player-detail {
    color: #fff;
    font-size: 14px;
    margin: 5px 0;
}

.account-info {
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.info-label {
    color: #d4af37;
    font-weight: bold;
}

.info-value {
    color: #fff;
}

.balance-highlight {
    color: #d4af37;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-edit, .btn-logout {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: #c41e3a;
    color: #fff;
    border: 2px solid #d4af37;
}

.btn-logout {
    background: #c41e3a;
    color: #fff;
    border: 2px solid #d4af37;
}

.btn-edit:hover, .btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Profile Right Section */
.profile-right {
    flex: 1;
}

.activity-section {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.activity-title {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 20px;
}

.activity-item {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.activity-text {
    color: #fff;
    font-size: 14px;
}

.game-name {
    color: #d4af37;
    font-weight: bold;
}

.win-text {
    color: #2ecc71;
    font-weight: bold;
}

.loss-text {
    color: #e74c3c;
    font-weight: bold;
}

.deposit-section {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.deposit-title {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 15px;
}

.deposit-amount {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Arial', sans-serif;
    background: linear-gradient(180deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    min-height: 100vh;
    color: #fff;
}

/* Header */
.header {
    background: #000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #d4af37;
}

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

.logo-circle {
    width: 60px;
    height: 60px;
    background: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #d4af37;
}

.logo-circle span {
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
}

.site-name {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-deposit, .btn-withdraw {
    background: #c41e3a;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-deposit:hover, .btn-withdraw:hover {
    background: #a01728;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 20px;
}

.notification-icon:hover {
    transform: scale(1.1);
}

/* Main Container */
.main-container {
    display: flex;
    min-height: calc(100vh - 90px);
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: rgba(0, 0, 0, 0.4);
    border-right: 2px solid rgba(212, 175, 55, 0.3);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-item.active {
    background: rgba(212, 175, 55, 0.2);
    border-left-color: #d4af37;
}

.sidebar-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: #d4af37;
}

.sidebar-item .icon {
    font-size: 24px;
}

.sidebar-item .text {
    font-size: 18px;
    font-weight: bold;
}

.balance-card {
    margin: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-icon {
    font-size: 30px;
}

.balance-info {
    flex: 1;
}

.balance-label {
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
}

.balance-amount {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.games-title {
    font-size: 36px;
    color: #d4af37;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(212, 175, 55, 0.5);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: translateY(-10px);
}

.game-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 10px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.game-item:hover .game-card {
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.game-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}

/* Game Images */
.super-ace {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.gates-olympus {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.color-game {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.starlight-princess {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.pinata-wins {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.sweet-bonanza {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.game-name {
    color: #fff;
    font-size: 18px;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.coming-soon {
    text-align: center;
    padding: 30px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.coming-soon p {
    color: #d4af37;
    font-size: 20px;
    font-weight: bold;
}

/* Game Modal */
.game-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.game-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #d4af37;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ffd700;
}

.modal-game-image {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    border: 3px solid #d4af37;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.5);
}

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

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .games-title {
        font-size: 24px;
    }
}