/**
 * User Dashboard Styles
 * Luxury aesthetic inspired by Bar Trigona (Four Seasons KL) + Stark JARVIS HUD
 * Deep teal palette with warm honey-gold accents
 */

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.user-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(165deg, #1a1a2e 0%, #1d1d30 50%, #1a1a28 100%);
    color: #e8e8e8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.user-header {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(26, 26, 46, 0.95) 100%);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    padding: 18px 40px;
    backdrop-filter: blur(10px);
}

.user-header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.user-logo-image {
    height: 42px;
    width: auto;
}

.user-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.user-nav-link {
    color: rgba(168, 178, 192, 0.8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    padding: 10px 16px;
    position: relative;
}

.user-nav-link:hover {
    color: #d4b896;
}

.user-nav-link.active {
    color: #4ecca3;
}

.user-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4ecca3, transparent);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 32px;
    border-left: 1px solid rgba(201, 162, 39, 0.2);
}

.user-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ecca3;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(78, 204, 163, 0.5);
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.user-name-display {
    color: #e8e8e8;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.logout-btn {
    background: transparent;
    color: rgba(168, 178, 192, 0.7);
    border: 1px solid rgba(201, 162, 39, 0.25);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

.logout-btn:hover {
    border-color: rgba(201, 162, 39, 0.6);
    color: #d4b896;
    background: rgba(201, 162, 39, 0.05);
}

/* ===== MAIN CONTENT ===== */
.user-main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 40px;
    width: 100%;
}

/* ===== HUD FRAME - Corner Brackets ===== */
.hud-frame {
    position: relative;
}

.hud-frame::before,
.hud-frame::after,
.hud-frame .corner-bl,
.hud-frame .corner-br {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(78, 204, 163, 0.5);
    border-style: solid;
    transition: all 0.4s ease;
}

.hud-frame::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 4px 0 0 0;
}

.hud-frame::after {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-radius: 0 4px 0 0;
}

.hud-frame .corner-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 4px;
}

.hud-frame .corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 4px 0;
}

.hud-frame:hover::before,
.hud-frame:hover::after,
.hud-frame:hover .corner-bl,
.hud-frame:hover .corner-br {
    border-color: rgba(78, 204, 163, 0.8);
    filter: drop-shadow(0 0 4px rgba(78, 204, 163, 0.4));
}

/* ===== WELCOME HEADER ===== */
.welcome-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 44px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, 
        rgba(30, 58, 58, 0.9) 0%, 
        rgba(42, 74, 74, 0.85) 50%,
        rgba(35, 65, 65, 0.9) 100%);
    border-radius: 6px;
    border: 1px solid rgba(78, 204, 163, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Warm ambient glow - top left */
.welcome-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Gold accent bar (separate element) */
.welcome-gold-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        #d4a855 0%, 
        #c9985a 50%,
        #a67c3d 100%);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
}

/* Welcome header HUD corners */
.welcome-header .hud-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: rgba(78, 204, 163, 0.5);
    border-style: solid;
    transition: all 0.4s ease;
    z-index: 2;
}

.welcome-header .hud-corner-tl {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 6px 0 0 0;
}

.welcome-header .hud-corner-tr {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-radius: 0 6px 0 0;
}

.welcome-header .hud-corner-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 6px;
}

.welcome-header .hud-corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 6px 0;
}

.welcome-header:hover .hud-corner {
    border-color: rgba(78, 204, 163, 0.8);
    filter: drop-shadow(0 0 4px rgba(78, 204, 163, 0.4));
}

.tier-badge {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tier-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Arc reactor inspired glow */
.tier-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, 
        rgba(78, 204, 163, 0.15) 0%, 
        rgba(78, 204, 163, 0.05) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: arc-glow 4s ease-in-out infinite;
}

@keyframes arc-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
}

/* Circular ring accent */
.tier-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105px;
    height: 105px;
    border: 1px solid rgba(78, 204, 163, 0.2);
    border-radius: 50%;
}

.welcome-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.welcome-title {
    font-size: 28px;
    font-weight: 500;
    color: #f0f4f4;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tier-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(78, 204, 163, 0.12);
    border: 1px solid rgba(78, 204, 163, 0.3);
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #4ecca3;
    margin-bottom: 12px;
    position: relative;
}

/* Top edge glow */
.tier-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78, 204, 163, 0.6), transparent);
}

.member-info {
    font-size: 14px;
    color: rgba(168, 192, 192, 0.9);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.member-info strong {
    color: #d4b896;
    font-weight: 500;
}

/* System status - HUD style */
.system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 10px;
    color: rgba(78, 204, 163, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.system-status .status-indicator {
    width: 6px;
    height: 6px;
    background: #4ecca3;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(78, 204, 163, 0.6);
    animation: gentle-pulse 3s ease-in-out infinite;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: linear-gradient(145deg, 
        rgba(30, 58, 58, 0.8) 0%, 
        rgba(42, 72, 72, 0.75) 100%);
    border: 1px solid rgba(78, 204, 163, 0.15);
    border-radius: 6px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

/* HUD corner accents */
.stat-card::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-top: 1px solid rgba(78, 204, 163, 0.4);
    border-right: 1px solid rgba(78, 204, 163, 0.4);
    transition: all 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 16px;
    height: 16px;
    border-bottom: 1px solid rgba(78, 204, 163, 0.4);
    border-left: 1px solid rgba(78, 204, 163, 0.4);
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(201, 162, 39, 0.1),
        inset 0 0 30px rgba(201, 162, 39, 0.03);
}

.stat-card:hover::before,
.stat-card:hover::after {
    border-color: rgba(78, 204, 163, 0.7);
    filter: drop-shadow(0 0 3px rgba(78, 204, 163, 0.4));
}

.stat-card.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.stat-card.disabled::before,
.stat-card.disabled::after {
    border-color: rgba(78, 204, 163, 0.15);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 36px;
    font-weight: 600;
    color: #d4b896;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(212, 184, 150, 0.2);
}

.stat-label {
    font-size: 10px;
    color: rgba(168, 192, 192, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Data readout line */
.stat-readout {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(78, 204, 163, 0.1);
    font-size: 9px;
    color: rgba(78, 204, 163, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.stat-readout::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(78, 204, 163, 0.5);
    border-radius: 50%;
}

/* ===== FEATURES SECTION ===== */
.section-container {
    background: linear-gradient(145deg, 
        rgba(30, 58, 58, 0.85) 0%, 
        rgba(42, 74, 74, 0.8) 100%);
    border: 1px solid rgba(78, 204, 163, 0.15);
    border-radius: 6px;
    padding: 32px;
    margin-bottom: 32px;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(78, 204, 163, 0.12);
}

.section-title {
    font-size: 12px;
    font-weight: 500;
    color: rgba(168, 192, 192, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Diamond indicator */
.section-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #d4a855, #c9985a);
    border-radius: 2px;
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(201, 162, 39, 0.4);
}

.section-count {
    font-size: 11px;
    color: rgba(106, 138, 138, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-count::before {
    content: '';
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78, 204, 163, 0.3));
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.action-card {
    background: linear-gradient(145deg, 
        rgba(42, 72, 72, 0.9) 0%, 
        rgba(58, 88, 88, 0.85) 100%);
    border: 1px solid rgba(74, 104, 104, 0.6);
    border-radius: 6px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* HUD corners on action cards */
.action-card .hud-corner-tl,
.action-card .hud-corner-br {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(78, 204, 163, 0.25);
    border-style: solid;
    transition: all 0.4s ease;
}

.action-card .hud-corner-tl {
    top: 10px;
    left: 10px;
    border-width: 1px 0 0 1px;
}

.action-card .hud-corner-br {
    bottom: 10px;
    right: 10px;
    border-width: 0 1px 1px 0;
}

/* Warm glow overlay on hover */
.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(201, 162, 39, 0.04) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Top edge holographic line */
.action-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(201, 162, 39, 0.5) 20%,
        rgba(201, 162, 39, 0.8) 50%,
        rgba(201, 162, 39, 0.5) 80%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-card:hover {
    border-color: rgba(201, 162, 39, 0.5);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(201, 162, 39, 0.15),
        inset 0 0 40px rgba(201, 162, 39, 0.02);
}

.action-card:hover::before,
.action-card:hover::after {
    opacity: 1;
}

.action-card:hover .hud-corner-tl,
.action-card:hover .hud-corner-br {
    border-color: rgba(78, 204, 163, 0.6);
    filter: drop-shadow(0 0 3px rgba(78, 204, 163, 0.3));
}

.action-card.featured {
    background: linear-gradient(145deg, 
        rgba(78, 204, 163, 0.12) 0%, 
        rgba(78, 204, 163, 0.18) 100%);
    border-color: rgba(78, 204, 163, 0.35);
}

.action-card.featured::after {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(78, 204, 163, 0.5) 20%,
        rgba(78, 204, 163, 0.8) 50%,
        rgba(78, 204, 163, 0.5) 80%,
        transparent 100%);
}

.action-card.featured:hover {
    border-color: rgba(78, 204, 163, 0.6);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(78, 204, 163, 0.2),
        inset 0 0 40px rgba(78, 204, 163, 0.03);
}

.action-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.action-icon {
    font-size: 32px;
}

.action-badge {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 3px;
    background: rgba(78, 204, 163, 0.15);
    color: #4ecca3;
    border: 1px solid rgba(78, 204, 163, 0.3);
}

.action-badge.gold {
    background: rgba(201, 162, 39, 0.15);
    color: #d4b896;
    border-color: rgba(201, 162, 39, 0.3);
}

.action-badge.pulse {
    animation: soft-glow 3s ease-in-out infinite;
}

@keyframes soft-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(78, 204, 163, 0.3); }
    50% { box-shadow: 0 0 12px 2px rgba(78, 204, 163, 0.15); }
}

.action-title {
    font-size: 16px;
    font-weight: 500;
    color: #f0f4f4;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.action-description {
    font-size: 13px;
    color: rgba(168, 192, 192, 0.85);
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

/* Status bar - HUD readout style */
.action-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(78, 204, 163, 0.1);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    z-index: 1;
}

.action-status-label {
    color: rgba(106, 138, 138, 0.8);
}

.action-status-value {
    color: #4ecca3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-status-value::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4ecca3;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(78, 204, 163, 0.6);
    animation: gentle-pulse 3s ease-in-out infinite;
}

.action-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.action-card.disabled .action-badge {
    background: rgba(168, 192, 192, 0.1);
    color: rgba(168, 192, 192, 0.7);
    border-color: rgba(168, 192, 192, 0.2);
}

.action-card.disabled .action-status-value {
    color: rgba(106, 138, 138, 0.7);
}

.action-card.disabled .action-status-value::before {
    background: rgba(106, 138, 138, 0.5);
    box-shadow: none;
    animation: none;
}

.action-card.disabled .hud-corner-tl,
.action-card.disabled .hud-corner-br {
    border-color: rgba(106, 138, 138, 0.15);
}

/* ===== FOOTER ===== */
.user-footer {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 22, 40, 0.98) 100%);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    padding: 28px 40px;
    text-align: center;
}

.user-footer p {
    color: rgba(136, 146, 176, 0.7);
    font-size: 11px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.user-footer a {
    color: #d4b896;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-footer a:hover {
    color: #4ecca3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .user-header {
        padding: 16px 20px;
    }

    .user-header-container {
        flex-direction: column;
        gap: 16px;
    }

    .user-nav {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .user-info {
        border-left: none;
        border-top: 1px solid rgba(201, 162, 39, 0.15);
        padding-left: 0;
        padding-top: 16px;
        width: 100%;
        justify-content: center;
    }

    .user-main-content {
        padding: 28px 20px;
    }

    .welcome-header {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        padding-top: 38px; /* Extra padding for top bar */
    }

    /* Mobile: gold bar moves to top center */
    .welcome-gold-bar {
        width: 50%;
        height: 3px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, 
            transparent,
            #d4a855 20%,
            #c9985a 50%,
            #d4a855 80%,
            transparent);
        box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
    }

    /* Mobile: smaller corners */
    .welcome-header .hud-corner {
        width: 18px;
        height: 18px;
    }

    .tier-badge {
        width: 80px;
        height: 80px;
    }

    .tier-badge::before {
        width: 94px;
        height: 94px;
    }

    .tier-badge::after {
        width: 90px;
        height: 90px;
    }

    .welcome-title {
        font-size: 22px;
    }

    .system-status {
        justify-content: center;
    }

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

    .stat-card {
        padding: 20px 16px;
    }

    .stat-value {
        font-size: 28px;
    }

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

    .section-container {
        padding: 24px 20px;
    }

    .hud-frame::before,
    .hud-frame::after,
    .hud-frame .corner-bl,
    .hud-frame .corner-br {
        width: 18px;
        height: 18px;
    }
}

/* ===== LOGIN PAGE STYLES ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(165deg, #1a1a2e 0%, #1d1d30 50%, #1a1a28 100%);
}

.login-card {
    background: linear-gradient(145deg, 
        rgba(30, 58, 58, 0.9) 0%, 
        rgba(42, 74, 74, 0.85) 100%);
    border: 1px solid rgba(78, 204, 163, 0.2);
    border-radius: 8px;
    padding: 48px 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Gold accent bar (separate element) */
.gold-accent-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        #d4a855 20%,
        #c9985a 50%,
        #d4a855 80%,
        transparent);
    border-radius: 0 0 4px 4px;
}

/* Login card HUD corners */
.login-card .hud-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: rgba(78, 204, 163, 0.5);
    border-style: solid;
    transition: all 0.4s ease;
}

.login-card .hud-corner-tl {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 8px 0 0 0;
}

.login-card .hud-corner-tr {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-radius: 0 8px 0 0;
}

.login-card .hud-corner-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 8px;
}

.login-card .hud-corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 8px 0;
}

.login-card:hover .hud-corner {
    border-color: rgba(78, 204, 163, 0.8);
    filter: drop-shadow(0 0 4px rgba(78, 204, 163, 0.4));
}

.login-logo {
    margin-bottom: 36px;
}

.login-logo img {
    height: 70px;
    width: auto;
    max-width: 100%;
}

.login-title {
    font-size: 26px;
    font-weight: 500;
    color: #f0f4f4;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.login-subtitle {
    font-size: 14px;
    color: rgba(168, 192, 192, 0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #5865F2;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.4);
}

.discord-btn svg {
    width: 24px;
    height: 24px;
}

.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(78, 204, 163, 0.1);
}

.login-footer p {
    font-size: 12px;
    color: rgba(136, 146, 176, 0.7);
}

.login-footer a {
    color: #d4b896;
    text-decoration: none;
}

.login-footer a:hover {
    color: #4ecca3;
}

/* Flash messages on login page */
.login-flash {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 13px;
    text-align: left;
}

.login-flash.danger {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.login-flash.warning {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: #d4b896;
}

.login-flash.info {
    background: rgba(78, 204, 163, 0.15);
    border: 1px solid rgba(78, 204, 163, 0.3);
    color: #4ecca3;
}

/* ===== COMING SOON PAGE ===== */
.coming-soon-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(165deg, #1a1a2e 0%, #1d1d30 50%, #1a1a28 100%);
}

.coming-soon-card {
    background: linear-gradient(145deg, 
        rgba(30, 58, 58, 0.9) 0%, 
        rgba(42, 74, 74, 0.85) 100%);
    border: 1px solid rgba(78, 204, 163, 0.2);
    border-radius: 8px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
}

.coming-soon-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.coming-soon-title {
    font-size: 24px;
    font-weight: 500;
    color: #f0f4f4;
    margin-bottom: 16px;
}

.coming-soon-text {
    font-size: 14px;
    color: rgba(168, 192, 192, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #d4b896;
    border: 1px solid rgba(201, 162, 39, 0.4);
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.6);
    color: #e8c87a;
}

/* ===== LOGIN PAGE RESPONSIVE ===== */

/* Tablets */
@media (max-width: 768px) {
    .login-container {
        padding: 32px 16px;
    }

    .login-card {
        padding: 40px 32px;
        max-width: 400px;
    }

    .login-logo img {
        height: 60px;
    }

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

    .login-card .hud-corner {
        width: 24px;
        height: 24px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .login-container {
        padding: 24px 16px;
    }

    .login-card {
        padding: 36px 24px;
        border-radius: 6px;
    }

    .login-logo img {
        height: 50px;
    }

    .login-title {
        font-size: 22px;
    }

    .login-subtitle {
        font-size: 13px;
        margin-bottom: 28px;
    }

    .discord-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .login-card .hud-corner {
        width: 20px;
        height: 20px;
    }

    .gold-accent-bar {
        width: 60%;
    }

    .login-footer {
        margin-top: 28px;
        padding-top: 20px;
    }

    .login-footer p {
        font-size: 11px;
    }

    /* Coming soon responsive */
    .coming-soon-card {
        padding: 36px 24px;
    }

    .coming-soon-icon {
        font-size: 48px;
    }

    .coming-soon-title {
        font-size: 20px;
    }

    .coming-soon-text {
        font-size: 13px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .login-card {
        padding: 32px 20px;
    }

    .login-logo img {
        height: 45px;
    }

    .login-title {
        font-size: 20px;
    }
}