/* ========================================
   RESET & BASE STYLES
   ======================================== */

html {
    overflow-y: scroll;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4a7ec9 0%, #6b9be0 50%, #4a7ec9 100%);
    min-height: 100vh;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

button, .btn, .btn-submit, .btn-register-submit, .btn-login-submit {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
}

input, select, textarea {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
}

.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   HEADER STYLES (без навигации)
   ======================================== */

.site-header {
    background: linear-gradient(135deg, #1a2535 0%, #283852 100%);
    border: 1px solid #3d5270;
    border-radius: 16px 16px 0 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 20px;
    flex-wrap: wrap;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo-icon {
    background: linear-gradient(135deg, #e01a3f 0%, #c41535 100%);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.header-logo-icon i {
    color: white;
    font-size: 24px;
}

.header-logo-text {
    font-weight: 800;
    font-size: 24px;
    color: white;
}

.header-logo-text span {
    color: #e01a3f;
}

/* Поиск */
.header-search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid #4a6080;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    width: 260px;
}

.header-search input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 14px;
    padding: 10px 16px;
    width: 100%;
}

.header-search input::placeholder {
    color: #8a9cb5;
}

.header-search button {
    background: transparent;
    border: none;
    border-left: 1px solid #4a6080;
    color: #8a9cb5;
    cursor: pointer;
    padding: 10px 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover {
    color: #e01a3f;
}

/* Блок пользователя в шапке */
.header-user {
    flex-shrink: 0;
}

.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #4a6080;
}

.user-menu-trigger:hover {
    background: rgba(255,255,255,0.2);
    border-color: #e01a3f;
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e01a3f;
}

.user-avatar-mini i {
    font-size: 28px;
    color: #ebebeb;
}

.user-info-mini {
    display: flex;
    flex-direction: column;
}

.user-info-mini .username {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.user-info-mini .user-balance {
    font-size: 11px;
    color: #9aafc5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-menu-trigger .fa-chevron-down {
    color: #8a9cb5;
    font-size: 12px;
    transition: transform 0.2s;
}

.user-menu-trigger.active .fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.user-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1a2a3f;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: #e01a3f;
}

.dropdown-item i {
    width: 20px;
    color: #5a6a80;
}

.dropdown-item:hover i {
    color: #e01a3f;
}

.dropdown-item.logout {
    border-top: 1px solid #e2e8f0;
    color: #e01a3f;
}

.dropdown-item.logout i {
    color: #e01a3f;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-register-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid #4a6080;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-register-header:hover {
    background: rgba(255,255,255,0.2);
    border-color: #e01a3f;
}

.btn-login-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid #4a6080;
    border-radius: 40px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login-header:hover {
    background: rgba(255,255,255,0.2);
    border-color: #e01a3f;
}

/* ========================================
   DASHBOARD
   ======================================== */

.dashboard {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
    background: linear-gradient(165deg, #e8eef5 0%, #dce4ed 100%);
    border: 1px solid #c5d0de;
    border-top: none;
    overflow: hidden;
}

.center-col {
    padding: 24px;
    background: linear-gradient(165deg, #e8eef5 0%, #dce4ed 100%);
    border-right: 1px solid #c5d0de;
    min-height: 500px;
}

.right-col {
    padding: 24px;
    background: linear-gradient(165deg, #e4ebf3 0%, #d8e1eb 100%);
}

.right-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ========================================
   GENRES & NAVIGATION (в сайдбаре)
   ======================================== */

.genres-section {
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    overflow: hidden;
}

.genres-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
}

.genre-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-weight: 500;
    color: #4a5a70;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.genre-item i {
    width: 24px;
    color: #94a3b8;
    font-size: 1rem;
    text-align: center;
}

.genre-item:hover {
    background: rgba(224, 26, 63, 0.08);
    color: #e01a3f;
}

.genre-item:hover i {
    color: #e01a3f;
}

.genre-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: #1a2a3f;
    font-weight: 600;
}

.genre-item.active i {
    color: #5a6a80;
}

.genre-count {
    margin-left: auto;
    font-size: 11px;
    background: rgba(255,255,255,0.6);
    padding: 2px 8px;
    border-radius: 20px;
}

.genre-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 8px 16px;
}

/* ========================================
   AUTH FORM (SIDEBAR) - если используется
   ======================================== */

.auth-form-container {
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    padding: 20px;
}

.auth-form-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2a3f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c5d0de;
}

.auth-form-title i {
    color: #e01a3f;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #5a6a80;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c5d0de;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.auth-input:focus {
    border-color: #e01a3f;
    box-shadow: 0 0 0 3px rgba(224, 26, 63, 0.1);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-wrapper span {
    font-size: 12px;
    color: #5a6a80;
}

.forgot-link {
    font-size: 12px;
    color: #5a6a80;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #e01a3f;
    text-decoration: underline;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-login,
.btn-register {
    flex: 1;
    padding: 10px;
    background: rgba(255,255,255,0.5);
    border: 1px solid #c5d0de;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #5a6a80;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover,
.btn-register:hover {
    background: white;
    border-color: #e01a3f;
    color: #e01a3f;
}

/* ========================================
   USER STATS CARD
   ======================================== */

.user-stats-card {
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    overflow: hidden;
}

.user-stats-header {
    background: linear-gradient(135deg, #1a2535 0%, #283852 100%);
    padding: 12px 16px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #3d5270;
}

.user-stats-header i {
    color: #e01a3f;
}

.user-stats-body {
    padding: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item i {
    color: #5a6a80;
    width: 24px;
}

.stat-item span {
    flex: 1;
    color: #4a5a70;
    font-size: 13px;
}

.stat-item strong {
    color: #1a2a3f;
    font-size: 16px;
}

.btn-profile {
    background: transparent;
    border: 1px solid #c5d0de;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    color: #5a6a80;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-profile:hover {
    background: rgba(255,255,255,0.5);
    border-color: #9aafc5;
    color: #1a2a3f;
}

/* ========================================
   GENRES
   ======================================== */

.genres-section {
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    overflow: hidden;
}

.genres-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
}

.genre-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-weight: 500;
    color: #4a5a70;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.genre-item i {
    width: 24px;
    color: #94a3b8;
    font-size: 1rem;
    text-align: center;
}

.genre-item:hover {
    background: rgba(224, 26, 63, 0.08);
    color: #e01a3f;
}

.genre-item:hover i {
    color: #e01a3f;
}

.genre-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: #1a2a3f;
    font-weight: 600;
}

.genre-item.active i {
    color: #5a6a80;
}

.genre-count {
    margin-left: auto;
    font-size: 11px;
    background: rgba(255,255,255,0.6);
    padding: 2px 8px;
    border-radius: 20px;
}

.genre-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 8px 16px;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i.fire {
    color: #e01a3f;
}

.section-title i.random {
    color: #8b5cf6;
}

.section-title i.new {
    color: #2c7a4a;
}

.section-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 14px;
    background: white;
    border: 1px solid #d1dae6;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #5a6a80;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    background: #f8fafc;
    border-color: #e01a3f;
}

.filter-btn.active {
    background: #e01a3f;
    border-color: #e01a3f;
    color: white;
}

/* ========================================
   GAMES GRID
   ======================================== */

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.game-card {
    background: linear-gradient(145deg, #283852 0%, #1e2d42 100%);
    border: 1px solid #3d5270;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    margin-bottom: 0;
}

.game-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    border-color: #4a6585;
}

.game-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.game-badge.hot {
    background: linear-gradient(135deg, #e01a3f, #c41535);
}

.game-badge.new {
    background: linear-gradient(135deg, #2c7a4a, #236b3e);
}

.game-badge.random {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.game-stats {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.game-stat {
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 11px;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-info {
    padding: 12px;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: #f0f4fa;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.game-category {
    background: rgba(58, 82, 115, 0.6);
    padding: 3px 8px;
    border-radius: 4px;
    color: #d0daea;
}

.game-rating {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ========================================
   LOAD MORE BUTTON
   ======================================== */

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    background: transparent;
    border: 1px solid #c5d0de;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #5a6a80;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    background: white;
    border-color: #e01a3f;
    color: #e01a3f;
}

/* ========================================
   GAME DETAIL PAGE
   ======================================== */

.game-detail-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.game-detail-header {
    background: linear-gradient(135deg, #1a2535 0%, #283852 100%);
    padding: 32px;
    color: white;
}

.game-detail-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.game-detail-stats {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #9aafc5;
    flex-wrap: wrap;
}

.game-detail-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-player-container {
    background: #0a0a0a;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.game-player {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.game-player iframe {
    display: block;
    margin: 0 auto;
}

.game-detail-content {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.game-detail-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.game-detail-description h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #1a2a3f;
}

.game-detail-description p {
    color: #4a5a70;
    line-height: 1.6;
    margin-bottom: 20px;
}

.game-detail-meta {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.game-detail-meta p {
    margin-bottom: 8px;
}

.game-detail-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn-play-large {
    background: linear-gradient(135deg, #e01a3f, #c41535);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-play-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 26, 63, 0.3);
}

.btn-back {
    background: rgba(255,255,255,0.5);
    border: 1px solid #c5d0de;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    color: #5a6a80;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-back:hover {
    background: white;
    border-color: #e01a3f;
    color: #e01a3f;
}

.btn-fullscreen {
    background: linear-gradient(135deg, #1a2535, #283852);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-fullscreen:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ========================================
   ADMIN PANEL
   ======================================== */

.admin-section {
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.admin-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c5d0de;
}

.admin-section h2 i {
    color: #e01a3f;
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    font-size: 13px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.admin-table td {
    color: #334155;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-edit,
.btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-edit {
    background: #3b82f6;
    color: white;
}

.btn-edit:hover {
    background: #2563eb;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

.btn-delete:hover {
    background: #dc2626;
}

/* ========================================
   REGISTER PAGE
   ======================================== */

.register-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 0 20px 0;
    border-bottom: none;
}

.register-header h1 {
    font-size: 28px;
    color: #1a2a3f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.register-header h1 i {
    color: #e01a3f;
    font-size: 32px;
}

.register-header p {
    color: #64748b;
    font-size: 14px;
}

.register-error {
    background: rgba(224, 26, 63, 0.1);
    border-left: 4px solid #e01a3f;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.register-form {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-row {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-group {
    width: 320px;
    max-width: 90%;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    text-align: left;
}

.form-group label i {
    color: #e01a3f;
    width: 20px;
    margin-right: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
    background: rgba(255,255,255,0.8);
}

.form-group input:focus {
    border-color: #e01a3f;
    background: white;
    box-shadow: 0 0 0 3px rgba(224, 26, 63, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group small {
    display: block;
    font-size: 11px;
    color: #5a6a80;
    margin-top: 6px;
    text-align: left;
}

.form-actions {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-register-submit {
    width: 320px;
    max-width: 90%;
    padding: 12px;
    background: linear-gradient(135deg, #e01a3f, #c41535);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 26, 63, 0.3);
}

/* ========================================
   DASHBOARD PAGE
   ======================================== */

.dashboard-page {
    width: 100%;
}

.dashboard-header {
    margin-bottom: 24px;
}

.dashboard-header h1 {
    font-size: 24px;
    color: #1a2a3f;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-header h1 i {
    color: #e01a3f;
}

.dashboard-header p {
    color: #64748b;
    font-size: 14px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.profile-card {
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.profile-avatar {
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e01a3f;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2535, #283852);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder i {
    font-size: 60px;
    color: #5a6a80;
}

.profile-info h2 {
    font-size: 20px;
    color: #1a2a3f;
    margin-bottom: 12px;
}

.profile-info p {
    margin: 6px 0;
    color: #5a6a80;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-info p i {
    width: 18px;
    color: #e01a3f;
}

.role-admin {
    color: #e01a3f;
    font-weight: 600;
}

.role-user {
    color: #2c7a4a;
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #1a2535 0%, #283852 100%);
    border: 1px solid #3d5270;
    border-top: none;
    border-radius: 0 0 16px 16px;
}

.footer-container {
    padding: 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-info h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 6px;
}

.footer-info h3 span {
    color: #e01a3f;
}

.footer-info p {
    color: #9aafc5;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid #4a6080;
    border-radius: 10px;
    color: #9aafc5;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-socials a:hover {
    background: #e01a3f;
    border-color: #e01a3f;
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #3d5270;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: #7a8fa5;
    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #7a8fa5;
    text-decoration: none;
    font-size: 12px;
}

.footer-bottom-links a:hover {
    color: #e01a3f;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-nav {
        justify-content: center;
    }
    
    .header-search {
        width: 100%;
    }
    
    .header-search input {
        width: 100%;
    }
    
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .center-col {
        border-right: none;
        border-bottom: 1px solid #c5d0de;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-detail-content {
        grid-template-columns: 1fr;
    }
    
    .game-detail-header h1 {
        font-size: 24px;
    }
    
    .game-detail-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .header-nav a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .register-header h1 {
        font-size: 24px;
    }
}