/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-red: #ff2d2d;
    --primary-red-dark: #cc0000;
    --orange: #ff8c00;
    --purple: #9b59b6;
    --gold: #ffd700;
    --steam-blue: #66c0f4;
    
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: rgba(26, 26, 26, 0.95);
    
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-muted: #888888;
    
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    
    --transition-normal: 0.3s ease;
    
    --font-primary: 'Roboto', sans-serif;
    --font-display: 'Exo 2', sans-serif;
    --font-accent: 'Rajdhani', sans-serif;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 45, 45, 0.1);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ===== LOGIN SCREEN ===== */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.login-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--primary-red);
}

.login-header p {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.btn-steam-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border: 2px solid #66c0f4;
    border-radius: 50px;
    color: white;
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-steam-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 192, 244, 0.4);
}

.btn-steam-login i {
    font-size: 1.8rem;
    color: #66c0f4;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-normal);
}

.back-link:hover {
    color: var(--primary-red);
}

/* ===== PANEL HEADER ===== */
.panel-header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--primary-red);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.logo span {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--primary-red);
    letter-spacing: 0.2em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
    border-radius: 50px;
}

.user-balance i {
    font-size: 1.3rem;
    color: var(--gold);
}

.user-balance #user-coins {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

.coin-label {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-name {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
}

.user-steam-id {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.user-role {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    margin: 0.2rem 0;
    text-transform: uppercase;
}

.user-stats-mini {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.stat-mini i {
    color: var(--gold);
    font-size: 1rem;
}

.btn-notifications {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-gray);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 0.5rem;
}

.btn-notifications:hover {
    background: #ffc107;
    color: #000;
}

.btn-notifications .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--bg-secondary);
}

.btn-logout {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-gray);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout:hover {
    background: var(--primary-red);
    color: white;
}

/* ===== NAVIGATION ===== */
.panel-nav {
    background: var(--bg-secondary);
    padding: 1rem 2rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center; /* Centralizar navegação */
    align-items: center; /* Alinhar verticalmente */
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-gray);
    font-family: var(--font-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: fit-content;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.nav-item:hover {
    background: rgba(255, 45, 45, 0.1);
    border-color: var(--primary-red);
    color: var(--text-white);
}

.nav-item.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.nav-item i {
    font-size: 1.2rem;
}

/* ===== PANEL CONTENT ===== */
.panel-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
    width: 100%;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.content-section h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

/* ===== DASHBOARD ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    clear: both;
}

/* Wallet Card */
.wallet-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wallet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: white;
}

.card-header h3 {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.wallet-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coin-display {
    text-align: center;
    margin-bottom: 2rem;
}

.coin-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}

.coin-label {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.earning-info {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.earning-info i {
    color: #28a745;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.earning-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.btn-transfer {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    color: var(--primary-red);
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn-transfer:hover {
    background: var(--primary-red);
    color: white;
}

/* Statistics Card */
.stats-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stats-card .card-header {
    background: linear-gradient(135deg, var(--purple), #8e44ad);
}

.stats-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-item .stat-label {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.stat-item .stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-item .stat-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Cores específicas para cada stat */
.stat-item:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.stat-item:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.stat-item:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
}

/* Slots Card */
.slots-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.slots-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.slots-card .card-header {
    background: linear-gradient(135deg, var(--orange), #ff6600);
}

.slots-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slots-info {
    text-align: center;
    margin-bottom: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slots-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.slots-count {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red);
}

.btn-buy-slots {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-red);
    border: none;
    border-radius: 10px;
    color: white;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: auto;
}

.btn-buy-slots:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 45, 45, 0.4);
}

.btn-buy-slots i {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary-red);
}

.info-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    width: 100%;
    clear: both;
    margin-top: 0;
}

.info-box h3 {
    color: var(--gold);
    margin-bottom: 2rem;
}

.earning-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-bottom: 2rem;
}

.earning-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.earning-item i {
    font-size: 2rem;
    color: var(--gold);
}

.earning-info {
    display: flex;
    flex-direction: column;
}

.earning-title {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.earning-value {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
}

.earning-desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.3rem;
    font-style: italic;
}

.info-tips {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--blue);
}

.info-tips h4 {
    color: var(--blue);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.info-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-tips li {
    padding: 0.8rem 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.info-tips li:last-child {
    border-bottom: none;
}

.info-tips li:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.info-tips strong {
    color: var(--text-white);
    font-weight: 600;
}

.info-warning {
    margin-top: 2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--red);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-warning i {
    font-size: 1.5rem;
    color: var(--red);
}

.info-warning p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-warning strong {
    color: var(--text-white);
    font-weight: 600;
}

/* ===== CARDS GAME ===== */
.cards-game-info {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(155, 89, 182, 0.2);
    margin-bottom: 3rem;
}

.game-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(155, 89, 182, 0.1);
    border-radius: 10px;
}

.game-status i {
    font-size: 1.5rem;
    color: var(--purple);
}

.game-status p {
    color: var(--text-gray);
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.game-stat {
    text-align: center;
}

.game-stat .stat-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.game-stat .stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--purple);
}

.btn-play-cards {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--purple), #8e44ad);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
}

.btn-play-cards:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
}

.cards-collection {
    margin-top: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.card-placeholder {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    color: var(--text-muted);
}

.card-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== SHOP ===== */
.shop-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.shop-tab {
    flex: 1;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-gray);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.shop-tab:hover {
    border-color: var(--primary-red);
    color: var(--text-white);
}

.shop-tab.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.shop-content {
    display: none;
}

.shop-content.active {
    display: block;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.shop-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-normal);
}

.shop-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.item-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #333, #444);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.item-image.rare {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-color: #4a90e2;
}

.item-image.legendary {
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    border-color: var(--gold);
}

.item-image i {
    font-size: 3rem;
    color: white;
}

.shop-item h4 {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.shop-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.item-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.item-price i {
    font-size: 1.3rem;
    color: var(--gold);
}

.item-price span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.btn-buy {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-red);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 45, 45, 0.4);
}

/* ===== INVENTORY ===== */
.inventory-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.inventory-tab {
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-gray);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.inventory-tab:hover {
    border-color: var(--primary-red);
    color: var(--text-white);
}

.inventory-tab.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.inventory-content {
    display: none;
}

.inventory-content.active {
    display: block;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.btn-go-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: var(--primary-red);
    border-radius: 50px;
    color: white;
    font-family: var(--font-accent);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-go-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 45, 45, 0.4);
}

.slots-info {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.slots-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.slots-display i {
    font-size: 3rem;
    color: var(--orange);
}

.slots-count {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-white);
}

.slots-count strong {
    color: var(--orange);
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.stat-card .stat-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-white);
}

.stat-card .stat-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Stats Categories */
.stats-category {
    margin-bottom: 3rem;
    width: 100%;
    clear: both;
}

.stats-category h3 {
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

/* Live Stats */
.stat-card.live {
    border: 2px solid var(--green);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(46, 204, 113, 0.5);
    }
}

.live-timer {
    color: var(--green) !important;
}

/* Slots Overview */
.slots-overview {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slots-info-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slots-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.slots-status-bar {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-item i {
    font-size: 1.1rem;
}

.slots-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-refresh-slots,
.btn-go-animals-shop {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-refresh-slots:hover,
.btn-go-animals-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-go-animals-shop {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.btn-go-animals-shop:hover {
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.loading-slots {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.loading-slots i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.no-slots {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(231, 76, 60, 0.1);
    border: 2px dashed #e74c3c;
    border-radius: 12px;
}

.no-slots i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.slots-count {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-white);
}

.slots-count strong {
    color: var(--gold);
    font-size: 1.3rem;
}

.btn-buy-slots-small {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), #d4af37);
    border: none;
    border-radius: 50px;
    color: var(--dark-bg);
    font-family: var(--font-accent);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy-slots-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.slot-item {
    background: linear-gradient(135deg, rgba(30, 39, 46, 0.8), rgba(45, 52, 54, 0.8));
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.slot-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
}

.slot-item.occupied {
    border-color: rgba(46, 204, 113, 0.3);
}

.slot-item.empty {
    border-color: rgba(127, 140, 141, 0.3);
    border-style: dashed;
}

.slot-item.purchased-slot {
    border-color: rgba(243, 156, 18, 0.5);
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05), rgba(230, 126, 34, 0.05));
}

.slot-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.slot-badge.purchased {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.slot-empty-text {
    margin-top: 0.5rem;
}

.slot-empty-text .main-text {
    font-size: 1rem;
    margin: 0;
}

.slot-empty-text .sub-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.3rem 0 0 0;
}

.slot-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-slot-action {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-slot-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-slot-action.small {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
}

.animal-icon-large {
    font-size: 3rem;
    color: #f39c12;
    margin-right: 1rem;
}

.animal-stats-detailed {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-bar {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.animal-stats-detailed .stat-label {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.stat-progress {
    position: relative;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: #2ecc71;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.stat-progress .stat-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.slot-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.empty-status {
    color: #95a5a6;
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slot-number {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
}

.slot-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(127, 140, 141, 0.3);
    color: var(--text-gray);
}

.slot-status.active {
    background: var(--green);
    color: white;
}

.slot-animal {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.slot-animal i {
    font-size: 2.5rem;
    color: var(--gold);
}

.slot-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.animal-name {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.animal-stage {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.animal-stats {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--green);
}

.animal-stats i {
    font-size: 0.8rem;
    margin-right: 0.2rem;
}

.slot-time {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
}

.slot-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem 0;
    color: var(--text-gray);
}

.slot-empty i {
    font-size: 3rem;
    opacity: 0.5;
}

.slot-empty span {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

/* Friends Section */
.friends-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.friend-tab {
    flex: 1;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-gray);
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.friend-tab:hover {
    border-color: var(--primary-red);
    color: var(--text-white);
}

.friend-tab.active {
    background: linear-gradient(135deg, var(--primary-red), #c0392b);
    border-color: var(--primary-red);
    color: white;
}

.friends-list {
    display: none;
}

.friends-list.active {
    display: block;
}

.friends-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
}

.friends-header span {
    font-family: var(--font-accent);
    color: var(--text-gray);
}

.friends-online-count {
    padding: 0.3rem 0.8rem;
    background: var(--green);
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

.btn-add-friend {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--blue), #2980b9);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-accent);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-friend:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.friends-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.friend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.friend-item:hover {
    border-color: var(--primary-red);
    transform: translateX(5px);
}

.friend-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.friend-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.friend-name {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
}

.friend-status {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.friend-status.online {
    color: var(--green);
}

.friend-status.offline {
    color: var(--text-gray);
}

.friend-status.ingame {
    color: var(--purple);
}

.friend-status.playing {
    color: var(--blue);
}

.btn-transfer,
.btn-challenge,
.btn-spectate {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-transfer {
    background: linear-gradient(135deg, var(--gold), #d4af37);
    color: var(--dark-bg);
}

.btn-transfer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.btn-transfer:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-challenge {
    background: linear-gradient(135deg, var(--purple), #8e44ad);
    color: white;
}

.btn-challenge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(155, 89, 182, 0.4);
}

.btn-spectate {
    background: linear-gradient(135deg, var(--blue), #2980b9);
    color: white;
}

.btn-spectate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.empty-friends {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 0;
    color: var(--text-gray);
}

.empty-friends i {
    font-size: 3rem;
    opacity: 0.5;
}

.empty-friends p {
    font-family: var(--font-body);
    font-size: 0.95rem;
}

/* ===== TRANSFER MODAL ===== */
.transfer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    background: linear-gradient(135deg, #1e272e 0%, #2d3436 100%);
    border-radius: 25px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-header h3 i {
    font-size: 1.5rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.transfer-modal .modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.transfer-content {
    background: linear-gradient(135deg, rgba(30, 39, 46, 0.98), rgba(45, 52, 54, 0.98));
}

.transfer-balance {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(212, 175, 55, 0.15));
    border-radius: 20px;
    margin-bottom: 2.5rem;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.balance-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.balance-label {
    font-family: var(--font-accent);
    color: var(--text-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.balance-amount {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.balance-currency {
    font-family: var(--font-accent);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.transfer-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-accent);
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-group label i {
    color: var(--gold);
    margin-right: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-style: italic;
}

.form-hint.char-count {
    text-align: right;
}

.form-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

.form-divider span {
    background: #1e272e;
    padding: 0 1rem;
    color: var(--text-gray);
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.amount-input-group {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.amount-input-group input {
    flex: 2;
}

.btn-amount-preset {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--gold);
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-amount-preset:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-amount-preset:active {
    transform: translateY(-1px);
}

.transfer-summary {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    font-family: var(--font-body);
    color: var(--text-gray);
    font-size: 1rem;
}

.summary-row span:first-child {
    font-weight: 500;
}

.summary-row span:last-child {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.summary-row.total {
    padding-top: 1.2rem;
    margin-top: 1rem;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    font-size: 1.1rem;
}

.summary-row.total span:last-child {
    color: var(--gold);
    font-size: 1.5rem;
}

.summary-row.remaining {
    padding-bottom: 0;
}

.summary-row.remaining span:last-child {
    color: var(--green);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-cancel,
.btn-confirm {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 15px;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--green), #27ae60);
    color: white;
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5);
}

.btn-confirm:active,
.btn-cancel:active {
    transform: translateY(0);
}

.transfer-recipient-fixed {
    margin-bottom: 1.5rem;
}

.transfer-recipient-fixed label {
    display: block;
    font-family: var(--font-accent);
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.recipient-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.recipient-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.recipient-name {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.transfer-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-body);
    color: var(--text-gray);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row.total {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    font-weight: 600;
}

.info-value {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.info-value.highlight {
    color: var(--gold);
}

.transfer-warning {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
    border-radius: 10px;
    border-left: 4px solid var(--red);
    margin-bottom: 2rem;
}

.transfer-warning i {
    font-size: 1.3rem;
    color: var(--red);
}

.transfer-warning p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.transfer-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.transfer-error i {
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cancel {
    flex: 1;
    padding: 1rem;
    background: rgba(127, 140, 141, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-white);
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(127, 140, 141, 0.5);
    transform: translateY(-2px);
}

.btn-confirm-transfer {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold), #d4af37);
    border: none;
    border-radius: 50px;
    color: var(--dark-bg);
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-transfer:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-confirm-transfer:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.transfer-history {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.transfer-history h4 {
    font-family: var(--font-accent);
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.transfer-history h4 i {
    color: var(--blue);
    margin-right: 0.5rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.history-icon.sent {
    background: rgba(231, 76, 60, 0.2);
    color: var(--red);
}

.history-icon.received {
    background: rgba(46, 204, 113, 0.2);
    color: var(--green);
}

.history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.history-recipient {
    font-family: var(--font-accent);
    color: var(--text-white);
    font-weight: 600;
}

.history-time {
    font-family: var(--font-body);
    color: var(--text-gray);
    font-size: 0.85rem;
}

.history-message {
    font-family: var(--font-body);
    color: var(--text-gray);
    font-size: 0.8rem;
    font-style: italic;
}

.history-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.history-amount.sent {
    color: var(--red);
}

.history-amount.received {
    color: var(--green);
}

.history-fee {
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: 400;
}

.history-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    color: var(--text-gray);
}

.history-empty i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.history-empty p {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .earning-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== HEADER TOGGLE BUTTON (MOBILE) ===== */
.header-toggle-btn {
    display: none; /* Oculto em desktop */
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
}

.header-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.header-toggle-btn:active {
    transform: scale(0.95);
}

.header-toggle-btn i {
    font-size: 1.2rem;
}

/* Header colapsado */
.panel-header.collapsed {
    height: 60px;
    overflow: hidden;
    padding: 0.5rem;
}

.panel-header.collapsed .header-content {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    /* Mostrar botão toggle em mobile */
    .header-toggle-btn {
        display: flex;
    }
    
    .panel-header {
        transition: all 0.3s ease;
        position: relative;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        transition: all 0.3s ease;
    }
    
    .header-content.hidden {
        display: none;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .user-balance {
        width: 100%;
        justify-content: center;
    }
    
    .panel-nav {
        padding: 1rem;
    }
    
    .nav-item span {
        display: none !important;
    }
    
    .nav-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 60px;
        padding: 0.8rem 0.5rem;
    }
    
    .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .earning-methods {
        grid-template-columns: 1fr;
    }
    
    .game-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-stats {
        grid-template-columns: 1fr;
    }
    
    .shop-tabs {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .coin-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .panel-content {
        padding: 1rem;
    }
    
    .game-features-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .wallet-content,
    .stats-content,
    .slots-content {
        padding: 1.5rem;
    }
    
    .coin-amount {
        font-size: 2rem;
    }
    
    .slots-count {
        font-size: 2rem;
    }
}

/* ===== STEAM INFO MODAL ===== */
.steam-info-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border: 1px solid #66c0f4;
    border-radius: 50%;
    color: #66c0f4;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.steam-info-btn:hover {
    background: #66c0f4;
    color: white;
    transform: scale(1.1);
}

.steam-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-header h3 i {
    color: #66c0f4;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
}

.steam-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(102, 192, 244, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(102, 192, 244, 0.2);
}

.steam-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #66c0f4;
    object-fit: cover;
}

.steam-details h4 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.steam-details p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.steam-details strong {
    color: #66c0f4;
}

.steam-actions {
    text-align: center;
}

.btn-steam-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border: 2px solid #66c0f4;
    border-radius: 50px;
    color: white;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
    text-transform: uppercase;
}

.btn-steam-profile:hover {
    background: #66c0f4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 192, 244, 0.4);
}

.btn-steam-profile i {
    font-size: 1.2rem;
}

/* ===== ANIMALS CATEGORIES ===== */
.animals-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-gray);
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.category-btn:hover {
    border-color: var(--primary-red);
    color: var(--text-white);
}

.category-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.animal-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

.animal-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.animal-item.pack-item {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.animal-stages {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.stage {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 45, 45, 0.1);
    border: 1px solid rgba(255, 45, 45, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 600;
}

.pack-item .stage {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--gold);
}

/* Animal item filtering */
.animal-item.hidden {
    display: none;
}

/* Responsive for animals */
@media (max-width: 768px) {
    .animals-categories {
        justify-content: center;
    }
    
    .animals-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .animal-stages {
        gap: 0.3rem;
    }
    
    .stage {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .animals-grid {
        grid-template-columns: 1fr;
    }
    
    .animals-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* ===== ANIMAL STAGE BADGES ===== */
.animal-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.animal-stage-badge.baby {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.animal-stage-badge.juvie {
    background: linear-gradient(135deg, #4ecdc4, #44a3a0);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.animal-stage-badge.subadult {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.animal-stage-badge.adult {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.stage-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0.5rem 0;
}

.stage-benefits .benefit {
    font-size: 0.75rem;
    color: #4ecdc4;
    font-weight: 500;
}

.stage-benefits .benefit.free {
    color: #2ecc71;
    font-size: 0.9rem;
    font-weight: bold;
}

.item-price.free {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.btn-buy.free {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.btn-buy.free:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
}

/* Stage filter buttons */
.stage-filters {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-filter-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.stage-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stage-filter-btn:hover::before {
    left: 100%;
}

.stage-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stage-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

/* Animal shop grid improvements */
#animals-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.animal-shop-item {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.animal-shop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animal-shop-item:hover::before {
    opacity: 1;
}

.animal-shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.animal-shop-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.animal-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.animal-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.animal-info p {
    margin: 0.2rem 0 0 0;
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.3;
}

.animal-stage-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.8rem 0;
}

.stage-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.stage-description {
    font-size: 0.75rem;
    color: var(--text-gray);
    flex: 1;
}

.animal-price {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.animal-price.free {
    color: #2ecc71;
    font-size: 1.1rem;
}

.animal-price.free::before {
    content: '🎁';
    margin-right: 0.2rem;
}

.btn-buy-animal {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.btn-buy-animal:hover {
    background: linear-gradient(135deg, var(--primary-red-dark), #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.btn-buy-animal.free {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.btn-buy-animal.free:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.btn-buy-animal:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS ===== */

/* Mobile First Approach - ENHANCED */
@media (max-width: 768px) {
    /* Root font size adjustment for better mobile scaling */
    html {
        font-size: 14px;
    }
    
    /* Layout adjustments */
    .main-container {
        padding: 0.25rem;
        margin: 0;
        min-height: 100vh;
    }
    
    /* Panel header mobile optimization */
    .panel-header {
        padding: 1rem 0.5rem;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        background: rgba(26, 26, 26, 0.95);
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .logo {
        text-align: center;
        order: 1;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.75rem;
        order: 2;
        width: 100%;
    }
    
    /* User info mobile layout */
    .user-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .user-details {
        flex: 1;
        margin-left: 0.75rem;
    }
    
    .user-name {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .user-steam-id {
        font-size: 0.75rem;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    /* User balance mobile */
    .user-balance {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
        border: 2px solid rgba(255, 215, 0, 0.3);
    }
    
    .user-balance #user-coins {
        font-size: 1.5rem;
    }
    
    .coin-label {
        font-size: 0.8rem;
    }
    
    /* Navigation mobile optimization */
    .panel-nav {
        padding: 0.75rem 0.5rem;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        position: sticky;
        top: 80px;
        z-index: 999;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item {
        flex: 1;
        min-width: 0;
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        text-align: center;
        border-radius: 8px;
        margin: 0 0.1rem;
    }
    
    .nav-item span {
        display: block;
        margin-top: 0.2rem;
        font-size: 0.7rem;
    }
    
    .nav-item i {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    /* Panel content mobile */
    .panel-content {
        padding: 1rem 0.5rem;
        min-height: calc(100vh - 200px);
    }
    
    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    /* Dashboard grid mobile */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Wallet card mobile */
    .wallet-card,
    .stats-card,
    .slots-card {
        border-radius: 15px;
        margin-bottom: 1rem;
    }
    
    .wallet-content,
    .stats-content,
    .slots-content {
        padding: 1.5rem;
    }
    
    .coin-amount {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .coin-label {
        font-size: 0.9rem;
    }
    
    /* Stats mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
        text-align: center;
    }
    
    .stat-card i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.85rem;
    }
    
    /* Slots mobile */
    .slots-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .slot-item {
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .slot-header {
        margin-bottom: 1rem;
    }
    
    .slot-number {
        font-size: 1.1rem;
    }
    
    .slot-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .animal-icon-large {
        font-size: 2.5rem;
    }
    
    .animal-name {
        font-size: 1rem;
    }
    
    .animal-stage {
        font-size: 0.8rem;
    }
    
    /* Shop mobile */
    #animals-shop-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .animal-shop-item {
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .animal-shop-header {
        margin-bottom: 1rem;
    }
    
    .animal-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .animal-info h3 {
        font-size: 1.1rem;
    }
    
    .animal-info p {
        font-size: 0.85rem;
    }
    
    .btn-buy-animal {
        padding: 0.8rem;
        font-size: 0.95rem;
        margin-top: 0.75rem;
    }
    
    /* Stage filters mobile */
    .stage-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        margin: 1rem 0;
        gap: 0.5rem;
    }
    
    .stage-filter-btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 10px;
        margin: 0;
    }
    
    /* Animals categories mobile */
    .animals-categories {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .category-btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
        text-align: center;
        border-radius: 10px;
    }
    
    /* Transfer modal mobile */
    .transfer-modal {
        padding: 0.5rem;
        margin: 0;
    }
    
    .modal-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 1.5rem 1rem;
        border-radius: 20px 20px 0 0;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
        max-height: calc(95vh - 120px);
    }
    
    .transfer-balance {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .balance-amount {
        font-size: 2.5rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .btn-cancel,
    .btn-confirm {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Friends section mobile */
    .friends-container {
        gap: 0.75rem;
    }
    
    .friend-item {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .friend-avatar {
        width: 45px;
        height: 45px;
    }
    
    .friend-name {
        font-size: 0.95rem;
    }
    
    .friend-status {
        font-size: 0.8rem;
    }
    
    /* Info box mobile */
    .info-box {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 15px;
    }
    
    .earning-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .earning-item {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .earning-item i {
        font-size: 1.8rem;
    }
    
    /* Login screen mobile */
    .login-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 20px;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
    
    .login-header p {
        font-size: 1rem;
    }
    
    .btn-steam-login {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Touch-friendly improvements */
    .btn,
    .nav-item,
    .stage-filter-btn,
    .category-btn {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better scrolling */
    .panel-content,
    .modal-body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Hide scrollbars on mobile */
    .panel-content::-webkit-scrollbar,
    .modal-body::-webkit-scrollbar {
        display: none;
    }
    
    /* Improve text readability */
    .stat-item .stat-value,
    .coin-amount,
    .balance-amount {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
    
    /* Mobile-specific animations */
    .nav-item:active,
    .btn:active,
    .stage-filter-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #animals-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .friends-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1025px) {
    .main-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #animals-shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .friends-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra small mobile devices (320px - 480px) */
@media (max-width: 480px) {
    /* Even smaller font size for very small screens */
    html {
        font-size: 13px;
    }
    
    /* Panel header ultra compact */
    .panel-header {
        padding: 0.75rem 0.25rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo span {
        font-size: 0.7rem;
    }
    
    /* User info ultra compact */
    .user-info {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .user-name {
        font-size: 0.9rem;
    }
    
    .user-steam-id {
        font-size: 0.7rem;
    }
    
    /* User balance ultra compact */
    .user-balance {
        padding: 0.5rem 0.75rem;
    }
    
    .user-balance #user-coins {
        font-size: 1.3rem;
    }
    
    .coin-label {
        font-size: 0.7rem;
    }
    
    /* Navigation ultra compact */
    .panel-nav {
        padding: 0.5rem 0.25rem;
    }
    
    .nav-item {
        padding: 0.6rem 0.3rem;
        font-size: 0.7rem;
        margin: 0 0.05rem;
    }
    
    .nav-item i {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .nav-item span {
        font-size: 0.6rem;
        margin-top: 0.1rem;
    }
    
    /* Panel content ultra compact */
    .panel-content {
        padding: 0.75rem 0.25rem;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    /* Cards ultra compact */
    .wallet-content,
    .stats-content,
    .slots-content {
        padding: 1rem;
    }
    
    .coin-amount {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.8rem;
    }
    
    /* Slots ultra compact */
    .slot-item {
        padding: 1rem;
    }
    
    .slot-header {
        margin-bottom: 0.75rem;
    }
    
    .slot-number {
        font-size: 1rem;
    }
    
    .slot-status {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .animal-icon-large {
        font-size: 2rem;
        margin-right: 0.75rem;
    }
    
    .animal-name {
        font-size: 0.95rem;
    }
    
    .animal-stage {
        font-size: 0.75rem;
    }
    
    /* Shop ultra compact */
    .animal-shop-item {
        padding: 1rem;
    }
    
    .animal-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .animal-info h3 {
        font-size: 1rem;
    }
    
    .animal-info p {
        font-size: 0.8rem;
    }
    
    .btn-buy-animal {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    /* Stage filters ultra compact */
    .stage-filters {
        padding: 0.5rem;
        margin: 0.75rem 0;
    }
    
    .stage-filter-btn {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    /* Categories ultra compact */
    .category-btn {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    /* Modal ultra compact */
    .modal-container {
        width: 98%;
        margin: 0.25rem;
    }
    
    .modal-header {
        padding: 1rem 0.75rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1rem 0.75rem;
    }
    
    .transfer-balance {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .modal-actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .btn-cancel,
    .btn-confirm {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Friends ultra compact */
    .friend-item {
        padding: 0.75rem;
    }
    
    .friend-avatar {
        width: 40px;
        height: 40px;
    }
    
    .friend-name {
        font-size: 0.9rem;
    }
    
    .friend-status {
        font-size: 0.75rem;
    }
    
    /* Info box ultra compact */
    .info-box {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .earning-item {
        padding: 1rem;
    }
    
    .earning-item i {
        font-size: 1.6rem;
    }
    
    /* Login ultra compact */
    .login-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .login-header h1 {
        font-size: 1.8rem;
    }
    
    .login-header p {
        font-size: 0.9rem;
    }
    
    .btn-steam-login {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Touch-friendly buttons */
@media (hover: none) and (pointer: coarse) {
    .btn, .nav-tab, .stage-filter-btn {
        min-height: 44px;
        padding: 0.8rem 1rem;
    }
    
    .slot-item {
        min-height: 120px;
    }
    
    .animal-shop-item {
        min-height: 200px;
    }
    
    /* Extra touch-friendly for small screens */
    @media (max-width: 480px) {
        .btn, .nav-tab, .stage-filter-btn {
            min-height: 48px;
            padding: 0.75rem 0.8rem;
        }
        
        .slot-item {
            min-height: 140px;
        }
        
        .animal-shop-item {
            min-height: 180px;
        }
    }
}

/* Dark mode improvements */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0a0a;
        --bg-secondary: #1a1a1a;
        --bg-tertiary: #2a2a2a;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --text-gray: #999999;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn, .nav-tab, .stage-filter-btn {
        border: 2px solid currentColor;
    }
    
    .stat-card, .slot-item, .animal-shop-item {
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== THEME SYSTEM ===== */

/* Default Theme Variables */
:root {
    --theme-primary: #dc2626;
    --theme-secondary: #1e40af;
    --theme-accent: #059669;
    --theme-warning: #d97706;
    --theme-error: #dc2626;
    --theme-info: #0891b2;
    
    --theme-bg-primary: #0f0f0f;
    --theme-bg-secondary: #1a1a1a;
    --theme-bg-tertiary: #262626;
    
    --theme-text-primary: #ffffff;
    --theme-text-secondary: #a3a3a3;
    --theme-text-muted: #737373;
    
    --theme-border: rgba(255, 255, 255, 0.1);
    --theme-shadow: rgba(0, 0, 0, 0.3);
}

/* Ocean Theme */
[data-theme="ocean"] {
    --theme-primary: #0ea5e9;
    --theme-secondary: #1e40af;
    --theme-accent: #06b6d4;
    --theme-warning: #f59e0b;
    --theme-error: #ef4444;
    --theme-info: #0891b2;
    
    --theme-bg-primary: #0c1821;
    --theme-bg-secondary: #1e293b;
    --theme-bg-tertiary: #334155;
    
    --theme-text-primary: #f1f5f9;
    --theme-text-secondary: #94a3b8;
    --theme-text-muted: #64748b;
    
    --theme-border: rgba(148, 163, 184, 0.2);
    --theme-shadow: rgba(14, 165, 233, 0.2);
}

/* Forest Theme */
[data-theme="forest"] {
    --theme-primary: #059669;
    --theme-secondary: #166534;
    --theme-accent: #10b981;
    --theme-warning: #d97706;
    --theme-error: #dc2626;
    --theme-info: #0891b2;
    
    --theme-bg-primary: #0f1419;
    --theme-bg-secondary: #1a2e1a;
    --theme-bg-tertiary: #2d4a2d;
    
    --theme-text-primary: #f0fdf4;
    --theme-text-secondary: #bbf7d0;
    --theme-text-muted: #86efac;
    
    --theme-border: rgba(187, 247, 208, 0.2);
    --theme-shadow: rgba(5, 150, 105, 0.2);
}

/* Sunset Theme */
[data-theme="sunset"] {
    --theme-primary: #f97316;
    --theme-secondary: #dc2626;
    --theme-accent: #f59e0b;
    --theme-warning: #eab308;
    --theme-error: #dc2626;
    --theme-info: #0891b2;
    
    --theme-bg-primary: #1c0f0f;
    --theme-bg-secondary: #2d1b1b;
    --theme-bg-tertiary: #3d2626;
    
    --theme-text-primary: #fef2f2;
    --theme-text-secondary: #fecaca;
    --theme-text-muted: #fca5a5;
    
    --theme-border: rgba(254, 202, 202, 0.2);
    --theme-shadow: rgba(249, 115, 22, 0.2);
}

/* Purple Theme */
[data-theme="purple"] {
    --theme-primary: #8b5cf6;
    --theme-secondary: #7c3aed;
    --theme-accent: #a855f7;
    --theme-warning: #f59e0b;
    --theme-error: #dc2626;
    --theme-info: #0891b2;
    
    --theme-bg-primary: #1a0f1a;
    --theme-bg-secondary: #2d1b2d;
    --theme-bg-tertiary: #3d263d;
    
    --theme-text-primary: #faf5ff;
    --theme-text-secondary: #e9d5ff;
    --theme-text-muted: #d8b4fe;
    
    --theme-border: rgba(233, 213, 255, 0.2);
    --theme-shadow: rgba(139, 92, 246, 0.2);
}

/* Theme selector styles - HIDDEN FOR NOW */
.theme-selector {
    display: none; /* Ocultar temporariamente */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

.theme-options {
    display: flex;
    gap: 0.5rem;
}

.theme-option {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-option:hover {
    transform: scale(1.1);
    border-color: var(--theme-text-primary);
}

.theme-option.active {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px var(--theme-primary);
}

.theme-option[data-theme="default"] {
    background: linear-gradient(135deg, #dc2626, #1e40af, #059669);
}

.theme-option[data-theme="ocean"] {
    background: linear-gradient(135deg, #0ea5e9, #1e40af, #06b6d4);
}

.theme-option[data-theme="forest"] {
    background: linear-gradient(135deg, #059669, #166534, #10b981);
}

.theme-option[data-theme="sunset"] {
    background: linear-gradient(135deg, #f97316, #dc2626, #f59e0b);
}

.theme-option[data-theme="purple"] {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed, #a855f7);
}

/* Theme transition */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Apply theme colors to existing elements */
.nav-tab.active,
.stage-filter-btn.active,
.btn-primary {
    background: var(--theme-primary);
}

.btn-secondary {
    background: var(--theme-secondary);
}

.btn-success {
    background: var(--theme-accent);
}

.btn-warning {
    background: var(--theme-warning);
}

.btn-danger {
    background: var(--theme-error);
}

.btn-info {
    background: var(--theme-info);
}

.stat-card,
.slot-item,
.animal-shop-item,
.friend-item {
    background: var(--theme-bg-secondary);
    border-color: var(--theme-border);
}

.main-container {
    background: var(--theme-bg-primary);
    color: var(--theme-text-primary);
}

.header {
    background: var(--theme-bg-secondary);
    border-color: var(--theme-border);
}

.text-primary {
    color: var(--theme-text-primary) !important;
}

.text-secondary {
    color: var(--theme-text-secondary) !important;
}

.text-muted {
    color: var(--theme-text-muted) !important;
}

/* ===== ENHANCED NOTIFICATION SYSTEM ===== */

.notification-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px var(--theme-shadow);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(-100%);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.notification-body {
    flex: 1;
    min-width: 0;
}

.notification-message {
    color: var(--theme-text-primary);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.notification-time {
    color: var(--theme-text-muted);
    font-size: 0.75rem;
    opacity: 0.8;
}

.notification-close {
    background: none;
    border: none;
    color: var(--theme-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--theme-text-primary);
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--theme-primary);
    border-radius: 0 0 12px 12px;
    animation: notificationProgress 5s linear forwards;
}

@keyframes notificationProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Notification types */
.notification-success {
    border-left: 4px solid var(--theme-accent);
}

.notification-success .notification-progress {
    background: var(--theme-accent);
}

.notification-error {
    border-left: 4px solid var(--theme-error);
}

.notification-error .notification-progress {
    background: var(--theme-error);
}

.notification-warning {
    border-left: 4px solid var(--theme-warning);
}

.notification-warning .notification-progress {
    background: var(--theme-warning);
}

.notification-info {
    border-left: 4px solid var(--theme-info);
}

.notification-info .notification-progress {
    background: var(--theme-info);
}

.notification-theme {
    border-left: 4px solid var(--theme-primary);
}

.notification-theme .notification-progress {
    background: var(--theme-primary);
}

.notification-animal {
    border-left: 4px solid var(--theme-accent);
}

.notification-animal .notification-progress {
    background: var(--theme-accent);
}

.notification-coin {
    border-left: 4px solid var(--theme-warning);
}

.notification-coin .notification-progress {
    background: var(--theme-warning);
}

.notification-time {
    border-left: 4px solid var(--theme-info);
}

.notification-time .notification-progress {
    background: var(--theme-info);
}

/* Mobile notifications */
@media (max-width: 768px) {
    .notification-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 0.75rem;
    }
    
    .notification-message {
        font-size: 0.9rem;
    }
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    position: relative;
    z-index: 1000;
}

.btn-language {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-accent);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-language:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

#current-language-flag {
    font-size: 1.2rem;
}

#current-language-name {
    font-weight: 600;
}

.btn-language i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-language:hover i {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideDown 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.5rem;
}

.language-option.active {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid var(--gold);
}

.lang-flag {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lang-name {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 500;
}

/* RTL Support for Arabic and Hebrew */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-option.active {
    border-left: none;
    border-right: 3px solid var(--gold);
}

[dir="rtl"] .modal-container,
[dir="rtl"] .panel-content {
    direction: rtl;
}

/* Language Selector Responsive */
@media (max-width: 768px) {
    .language-selector {
        order: -1;
        width: 100%;
    }
    
    .btn-language {
        width: 100%;
        justify-content: center;
    }
    
    .language-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* ===== MOBILE LANDSCAPE ORIENTATION ===== */
@media (max-width: 768px) and (orientation: landscape) {
    /* Header landscape optimization */
    .panel-header {
        padding: 0.5rem 1rem;
    }
    
    .header-content {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .logo {
        order: 1;
        flex: 1;
        text-align: left;
    }
    
    .header-actions {
        order: 2;
        flex-direction: row;
        gap: 1rem;
        width: auto;
    }
    
    .user-info {
        flex-direction: row;
        padding: 0.5rem 0.75rem;
    }
    
    .user-balance {
        width: auto;
        padding: 0.5rem 0.75rem;
    }
    
    /* Navigation landscape */
    .panel-nav {
        padding: 0.5rem 1rem;
        position: sticky;
        top: 60px;
    }
    
    .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .nav-item span {
        display: inline;
        margin-left: 0.3rem;
        font-size: 0.7rem;
    }
    
    .nav-item i {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    /* Content landscape */
    .panel-content {
        padding: 0.75rem 1rem;
        min-height: calc(100vh - 140px);
    }
    
    /* Dashboard landscape grid */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Stats landscape */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    
    /* Slots landscape */
    .slots-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .slot-item {
        padding: 1rem;
    }
    
    /* Shop landscape */
    #animals-shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .animal-shop-item {
        padding: 1rem;
    }
    
    /* Stage filters landscape */
    .stage-filters {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .stage-filter-btn {
        width: auto;
        min-width: 120px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Categories landscape */
    .animals-categories {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .category-btn {
        width: auto;
        min-width: 100px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Modal landscape */
    .modal-container {
        width: 90%;
        max-height: 90vh;
    }
    
    .modal-body {
        max-height: calc(90vh - 100px);
    }
    
    /* Friends landscape */
    .friends-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Login landscape */
    .login-container {
        max-width: 500px;
        padding: 2rem;
    }
}

/* ===== MOBILE PORTRAIT ORIENTATION ===== */
@media (max-width: 768px) and (orientation: portrait) {
    /* Ensure portrait-specific styles */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .slots-container {
        grid-template-columns: 1fr;
    }
    
    #animals-shop-grid {
        grid-template-columns: 1fr;
    }
    
    .friends-container {
        display: flex;
        flex-direction: column;
    }
    
    .stage-filters {
        flex-direction: column;
    }
    
    .animals-categories {
        flex-direction: column;
    }
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    /* Hardware acceleration for smooth scrolling */
    .panel-content,
    .modal-body,
    .notification-container {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
    
    /* Optimize animations for mobile */
    .nav-item:hover,
    .btn:hover,
    .stage-filter-btn:hover {
        transform: none;
        transition: none;
    }
    
    /* Reduce motion for better performance */
    .stat-card:hover,
    .slot-item:hover,
    .animal-shop-item:hover {
        transform: none;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    
    /* Optimize shadows for mobile */
    .wallet-card,
    .stats-card,
    .slots-card,
    .animal-shop-item {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .wallet-card:hover,
    .stats-card:hover,
    .slots-card:hover,
    .animal-shop-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
    
    /* Reduce blur effects for better performance */
    .panel-header,
    .panel-nav {
        backdrop-filter: none;
        background: rgba(26, 26, 26, 0.98);
    }
    
    /* Optimize text rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Reduce repaints */
    .stat-value,
    .coin-amount,
    .balance-amount {
        contain: layout style paint;
    }
}

