/* Shared Game Theme Styles - Based on Bank Page Design */

/* Container */
.game-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Header */
.game-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.game-header i {
    font-size: 1.5rem;
    color: #9370db;
}

.game-header h1 {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

/* Help Icon (thought bubble trigger) */
.help-icon {
    cursor: pointer;
    font-size: 1.3rem;
    color: #9370db;
    margin-left: auto;
    transition: color 0.2s, text-shadow 0.2s;
}

.help-icon:hover,
.help-icon:focus {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    outline: none;
}

/* Help Content (thought bubble) */
.help-content {
    display: none;
    margin-bottom: 1.5rem;
}

.help-content.active {
    display: block;
    animation: helpFadeIn 0.25s ease-out;
}

.help-content .game-card {
    position: relative;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.help-content .game-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 30px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(147, 51, 234, 0.3);
}

.help-content .game-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: #e0e0ff;
    font-weight: 600;
}

.help-content .game-card h3 i {
    color: #9370db;
    font-size: 1rem;
    margin-right: 0.4rem;
}

.help-content .game-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #a0a0c0;
    line-height: 1.5;
}

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

/* Neon Text Effect */
.neon-text {
    color: #fff;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.7);
}

/* Dashboard Layout */
.game-dashboard {
    margin-top: 30px;
}

/* Balance/Stats Card */
.stats-card {
    background: rgba(20, 20, 40, 0.9);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto 30px;
    text-align: center;
}

.stats-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stats-header i {
    font-size: 1.5em;
    color: #00ffff;
}

.stats-amount {
    font-size: 2em;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
    font-family: 'Courier New', monospace;
    margin: 15px 0;
}

.stats-amount .currency {
    font-size: 0.8em;
    opacity: 0.8;
    margin-right: 5px;
}

.stats-limits {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.stats-limit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.stats-limit-item i {
    color: #00ffff;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Game Card */
.game-card {
    background: rgba(20, 20, 40, 0.9);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 5px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header i {
    font-size: 1.2em;
    color: #ff80ff;
}

.card-header h2, .card-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #ff80ff;
}

/* Form Styles */
.game-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    color: #fff;
    font-size: 0.9em;
    opacity: 0.8;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 10px;
    color: #00ffff;
    font-size: 1.1em;
}

.input-group input,
.input-group select,
.input-group textarea {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    width: 100%;
}

.input-group input[type="number"] {
    padding-left: 30px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Buttons */
.game-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    transition: all 0.3s ease;
}

.game-btn-primary {
    background: linear-gradient(45deg, #9370db, #7b68ee);
}

.game-btn-primary:hover {
    background: linear-gradient(45deg, #7b68ee, #9370db);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 112, 219, 0.4);
}

.game-btn-success {
    background: linear-gradient(45deg, #00ff00, #008000);
}

.game-btn-success:hover {
    background: linear-gradient(45deg, #008000, #00ff00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.game-btn-danger {
    background: linear-gradient(45deg, #ff0000, #800000);
}

.game-btn-danger:hover {
    background: linear-gradient(45deg, #800000, #ff0000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.game-btn-info {
    background: linear-gradient(45deg, #00ffff, #0080ff);
}

.game-btn-info:hover {
    background: linear-gradient(45deg, #0080ff, #00ffff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.game-btn-warning {
    background: linear-gradient(45deg, #ffff00, #ffa500);
}

.game-btn-warning:hover {
    background: linear-gradient(45deg, #ffa500, #ffff00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 0, 0.4);
}

/* Info Cards */
.info-card {
    background: rgba(20, 20, 40, 0.9);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(147, 112, 219, 0.3);
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.info-card .card-header i {
    color: #9370db;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: #00ffff;
    font-size: 1.2em;
    margin-top: 3px;
}

.info-item h4 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1em;
}

.info-item p {
    margin: 0;
    color: #aaa;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Tables */
.game-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.game-table th,
.game-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(147, 112, 219, 0.2);
}

.game-table th {
    color: #9370db;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: rgba(147, 112, 219, 0.1);
}

.game-table td {
    color: #ecf0f1;
}

.game-table tr:hover {
    background: rgba(147, 112, 219, 0.05);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.alert-danger {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.alert-warning {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid #f39c12;
}

.alert-info {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid #3498db;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-success {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.badge-danger {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.badge-warning {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
}

.badge-info {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.badge-primary {
    background: rgba(147, 112, 219, 0.2);
    color: #9370db;
}

/* Item Cards */
.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

@media (max-width: 1200px) {
    .item-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .item-grid {
        grid-template-columns: 1fr;
    }
}

.item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.item-card:hover {
    border-color: rgba(147, 112, 219, 0.6);
    box-shadow: 0 0 15px rgba(147, 112, 219, 0.2);
}

.item-card.owned {
    border-color: rgba(50, 205, 50, 0.4);
}

.item-card h4 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1rem;
}

.item-card p {
    color: #999;
    font-size: 0.85rem;
    margin: 0 0 10px;
}

.item-card .item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.item-card .item-price {
    color: #ffd700;
    font-size: 0.9rem;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    color: #9370db;
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.4);
}

.empty-state i {
    font-size: 2rem;
    opacity: 0.25;
    margin-bottom: 15px;
    display: block;
}

/* ─── Panel Body ─────────────────────────────────────────────────── */
.panel-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ─── Referral Page ─────────────────────────────────────────────── */
.referral-link-box {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(30, 30, 40, 0.6);
    padding: 0.875rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.referral-link-input {
    flex: 1;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    padding: 0;
}
.referral-reward-callout {
    padding: 1rem;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(147, 51, 234, 0.2);
}
.referral-stat-item {
    padding: 0.875rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.referral-top-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s;
}
.referral-top-row:hover { border-color: rgba(147, 51, 234, 0.3); }
.referral-rank-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── Leaderboard Top Rows ───────────────────────────────────────── */
.leaderboard-top-row {
    background: rgba(255, 215, 0, 0.04) !important;
}
.leaderboard-top-row:hover {
    background: rgba(255, 215, 0, 0.08) !important;
}
.leaderboard-top-row:nth-child(1) { border-left: 3px solid #ffd700; }
.leaderboard-top-row:nth-child(2) { border-left: 3px solid #c0c0c0; }
.leaderboard-top-row:nth-child(3) { border-left: 3px solid #cd7f32; }

/* ─── Quest Progress Bar ─────────────────────────────────────────── */
.quest-progress-bar {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    height: 26px;
    overflow: hidden;
    border: 1px solid rgba(147, 112, 219, 0.3);
}
.quest-progress-fill {
    background: linear-gradient(90deg, #9370db, #00e5ff);
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}
.quest-progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    animation: shimmer-bar 2s linear infinite;
}
.quest-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* ─── Quest Reward Chips ─────────────────────────────────────────── */
.quest-rewards-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.quest-reward-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
.quest-reward-chip.reward-gold {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #ffd700;
}
.quest-reward-chip.reward-cyan {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: #00e5ff;
}

/* ─── Profile Page Specific Styles ─────────────────────────────────────────────── */

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.profile-title {
    flex: 1;
}

.profile-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

.profile-rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #9370db;
    font-size: 1.25rem;
}

.profile-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid rgba(20, 20, 30, 0.8);
    z-index: 3;
}

.profile-status.online {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.profile-status.offline {
    background: #6b7280;
}

/* Reputation System */
.profile-reputation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.reputation-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reputation-score i {
    color: #fbbf24;
}

.reputation-score span {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.reputation-actions {
    display: flex;
    gap: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
}

.reputation-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid;
    font-weight: 500;
}

.reputation-upvote {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.reputation-upvote:hover {
    background: rgba(34, 197, 94, 0.2);
}

.reputation-downvote {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.reputation-downvote:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Profile Grid Layout */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.profile-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Biography */
.bio-content {
    padding: 1.5rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 10px;
    color: #fff;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Emblems */
.emblems-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem;
}

.emblem-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(135, 7, 255, 0.08));
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 8px;
}

.emblem-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.emblem-item i {
    color: #ff80ff;
    font-size: 1rem;
}

.emblem-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff80ff;
}

/* Cosmetics */
.cosmetics-list {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.cosmetic-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cosmetic-icon {
    color: #ffd700;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.cosmetic-icon-theme {
    color: #9370db;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.cosmetic-info {
    flex: 1;
}

.cosmetic-label {
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.7;
}

.cosmetic-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffd700;
}

.cosmetic-theme {
    color: #9370db;
}

.cosmetic-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Combat Stats */
.stats-grid {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 10px;
    color: #9370db;
    font-size: 1.25rem;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #fff;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.stat-value-money {
    color: #32cd32;
}

.stat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.stat-bar-health {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Player Details */
.details-grid {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item i {
    color: #9370db;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.detail-info {
    flex: 1;
}

.detail-label {
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.7;
}

.detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

/* Profile Actions */
.profile-actions {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.full-width {
    width: 100%;
}

/* Attack Popup */
.attack-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.attack-popup-content {
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.98), rgba(30, 15, 50, 0.98));
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 14px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.attack-popup-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.attack-popup-msg {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-out;
}

.toast.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    background: rgba(34, 197, 94, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.toast-error {
    background: rgba(239, 68, 68, 0.95);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.toast i {
    font-size: 1.1rem;
}

/* ─── Profile Themes ─────────────────────────────────────────────── */

/* Neon Theme */
.profile-theme-neon-theme .profile-header {
    background: linear-gradient(135deg, rgba(0,255,255,0.12), rgba(255,0,255,0.12)) !important;
    border: 1px solid rgba(0,255,255,0.4) !important;
    box-shadow: 0 0 30px rgba(0,255,255,0.15), inset 0 0 30px rgba(255,0,255,0.05) !important;
}
.profile-theme-neon-theme .game-card {
    border: 1px solid rgba(0,255,255,0.25) !important;
    box-shadow: 0 0 15px rgba(0,255,255,0.1) !important;
}
.profile-theme-neon-theme .card-header h3 {
    color: #00ffff !important;
    text-shadow: 0 0 8px rgba(0,255,255,0.5);
}
.profile-theme-neon-theme .profile-title h1 {
    text-shadow: 0 0 15px rgba(0,255,255,0.5), 0 0 30px rgba(255,0,255,0.3) !important;
}

/* Dark Pro Theme */
.profile-theme-dark-pro-theme .profile-header {
    background: linear-gradient(135deg, rgba(10,10,15,0.95), rgba(20,20,30,0.95)) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6) !important;
}
.profile-theme-dark-pro-theme .game-card {
    background: rgba(10,10,18,0.95) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}
.profile-theme-dark-pro-theme .card-header h3 {
    color: #e0e0e0 !important;
}
.profile-theme-dark-pro-theme .profile-title h1 {
    color: #f0f0f0 !important;
    text-shadow: none !important;
}

/* Sunset Theme */
.profile-theme-sunset-theme .profile-header {
    background: linear-gradient(135deg, rgba(255,100,50,0.12), rgba(255,50,100,0.12), rgba(160,50,255,0.08)) !important;
    border: 1px solid rgba(255,100,50,0.3) !important;
    box-shadow: 0 0 25px rgba(255,100,50,0.12), inset 0 0 20px rgba(255,50,100,0.05) !important;
}
.profile-theme-sunset-theme .game-card {
    border: 1px solid rgba(255,100,50,0.2) !important;
    box-shadow: 0 0 12px rgba(255,80,60,0.08) !important;
}
.profile-theme-sunset-theme .card-header h3 {
    color: #ff8c42 !important;
    text-shadow: 0 0 8px rgba(255,140,66,0.4);
}
.profile-theme-sunset-theme .profile-title h1 {
    text-shadow: 0 0 15px rgba(255,100,50,0.4), 0 0 30px rgba(255,50,100,0.2) !important;
}
.profile-theme-sunset-theme .profile-rank {
    color: #ff6b6b !important;
}

/* Responsive */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-limits {
        flex-direction: column;
        align-items: center;
    }
    
    .game-header h1 {
        font-size: 1.4rem;
    }
    
    .stats-amount {
        font-size: 2em;
    }

    /* Profile Page Responsive */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .profile-title h1 {
        font-size: 2rem;
    }

    .profile-reputation {
        flex-direction: column;
        width: 100%;
    }

    .reputation-actions {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        margin-top: 1rem;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }
}
