@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #0D0D0D;
    --bg-secondary: #1A1A1A;
    --border-accent: #8C1C13;
    --primary-accent: #D94F04;
    --hover-state: #FF7A00;
    --glow-text: #FFD166;
    --body-text: #FFFFFF;
    
    --grad-primary: linear-gradient(135deg, #D94F04 0%, #FF7A00 100%);
    --grad-dark: linear-gradient(145deg, #1A1A1A 0%, #0D0D0D 100%);
    --grad-glow: linear-gradient(90deg, #FFD166 0%, #FF7A00 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at 10% 20%, rgba(217, 79, 4, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(140, 28, 19, 0.08) 0%, transparent 40%);
    color: var(--body-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes slideDownFade {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes popInGlow {
    0% { transform: scale(0.95); opacity: 0; box-shadow: 0 0 0 rgba(217, 79, 4, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(217, 79, 4, 0.15); }
}

.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    height: 85px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(217, 79, 4, 0.2);
    border-bottom: 1px solid rgba(217, 79, 4, 0.4);
    background: transparent;
}

.top-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/live-feed_background.png');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.5);
    z-index: -2;
}

.top-navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(217, 79, 4, 0.25) 0%, rgba(20, 20, 20, 0.85) 100%);
    z-index: -1;
}

.nav-brand {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 25px;
    background: var(--grad-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.3));
}



.patreon-link {
    padding: 12px;
}

.patreon-link:hover {
    background: rgba(255, 66, 77, 0.1) !important;
    box-shadow: inset 0 2px 0 #FF424D !important;
}

.patreon-link:hover svg {
    filter: drop-shadow(0 0 8px rgba(255, 66, 77, 0.6));
}

.dropdown-content {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--grad-dark);
    border: 1px solid rgba(140, 28, 19, 0.3);
    border-top: 2px solid var(--primary-accent);
    border-radius: 12px;
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(217, 79, 4, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--bg-secondary);
    border-left: 2px solid var(--primary-accent);
    border-top: 2px solid var(--primary-accent);
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--grad-primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-content a:hover {
    color: var(--body-text);
    background: linear-gradient(90deg, rgba(217, 79, 4, 0.1) 0%, transparent 100%);
    padding-left: 28px;
}

.dropdown-content a:hover::before {
    transform: scaleY(1);
}

.dropdown-content a svg {
    fill: rgba(255, 255, 255, 0.5);
}

.dropdown-content a:hover svg {
    fill: var(--glow-text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.currency-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.currency-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(13, 13, 13, 0.6);
    padding: 6px 18px 6px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.currency-box:hover {
    background: rgba(26, 26, 26, 0.8);
    transform: translateY(-2px);
}

.currency-box img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.currency-text {
    display: flex;
    flex-direction: column;
}

.currency-label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.currency-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--body-text);
    letter-spacing: 0.5px;
}

.amber-coin {
    border-bottom: 2px solid #FF7A00;
    box-shadow: inset 0 -5px 15px rgba(255, 122, 0, 0.1);
}
.amber-coin .currency-label { color: #FF7A00; }

.apex-coin {
    border-bottom: 2px solid #00D2FF;
    box-shadow: inset 0 -5px 15px rgba(0, 210, 255, 0.1);
}
.apex-coin .currency-label { color: #00D2FF; }

.user-dropdown-wrapper {
    position: relative;
    height: 85px;
    display: flex;
    align-items: center;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-profile-btn:hover {
    background: rgba(217, 79, 4, 0.08);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--primary-accent);
    box-shadow: 0 0 15px rgba(217, 79, 4, 0.3);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    color: var(--body-text);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.user-role {
    background: var(--grad-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.user-profile-btn .chevron {
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
}

.user-dropdown-wrapper:hover .chevron {
    transform: rotate(180deg);
    color: var(--primary-accent);
}

.user-dropdown-menu {
    position: absolute;
    top: 80px;
    right: 0;
    background: var(--grad-dark);
    border: 1px solid rgba(140, 28, 19, 0.3);
    border-top: 2px solid var(--primary-accent);
    border-radius: 12px;
    min-width: 240px;
    padding: 12px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(217, 79, 4, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.user-dropdown-wrapper:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-category {
    padding: 10px 24px;
    font-size: 10px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.user-dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--grad-primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.user-dropdown-menu a:hover {
    color: var(--body-text);
    background: linear-gradient(90deg, rgba(217, 79, 4, 0.1) 0%, transparent 100%);
    padding-left: 28px;
}

.user-dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.user-dropdown-menu a svg {
    fill: rgba(255, 255, 255, 0.5);
    transition: fill 0.2s ease;
}

.user-dropdown-menu a:hover svg {
    fill: var(--primary-accent);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 10px 0;
}

.logout-link:hover {
    background: linear-gradient(90deg, rgba(255, 66, 77, 0.1) 0%, transparent 100%) !important;
}

.logout-link:hover::before {
    background: #FF424D !important;
}

.logout-link:hover svg {
    fill: #FF424D !important;
}



.welcome-card {
    background: var(--grad-dark);
    border: 1px solid rgba(140, 28, 19, 0.4);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.welcome-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-primary);
}

.welcome-card h1 {
    color: var(--body-text);
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.welcome-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: rgba(140, 28, 19, 0.6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}

.auth-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.auth-box {
    background: var(--grad-dark);
    border: 1px solid rgba(140, 28, 19, 0.4);
    border-top: 3px solid var(--primary-accent);
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    animation: popInGlow 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
}

.auth-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(217, 79, 4, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.auth-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    border-radius: 24px;
    border: 1px solid rgba(217, 79, 4, 0.3);
    padding: 8px;
    background: var(--bg-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(217, 79, 4, 0.2);
    position: relative;
    z-index: 1;
}

.auth-box h2 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    background: var(--grad-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-box p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.btn-steam {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--grad-primary);
    color: var(--body-text);
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(217, 79, 4, 0.4);
    overflow: hidden;
}

.btn-steam::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-steam:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 122, 0, 0.6);
    border-color: var(--glow-text);
}

.btn-steam:hover::after {
    left: 100%;
}

.dropdown-content a.soon-link,
.user-dropdown-menu a.soon-link {
    position: relative;
    cursor: not-allowed;
    overflow: hidden;
}

.dropdown-content a.soon-link::after,
.user-dropdown-menu a.soon-link::after {
    content: 'SOON';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--primary-accent);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.dropdown-content a.soon-link:hover::after,
.user-dropdown-menu a.soon-link:hover::after {
    opacity: 1;
}

.dropdown-content a.soon-link:hover,
.user-dropdown-menu a.soon-link:hover {
    padding-left: 24px;
    background: transparent;
}

.site-footer {
    background: var(--grad-dark);
    border-top: 1px solid rgba(140, 28, 19, 0.4);
    padding: 25px 40px;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
}

.creator-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creator-name {
    color: var(--glow-text);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
}

.toast-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999999;
    pointer-events: none;
}

.toast {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    min-width: 320px;
    max-width: 420px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-error {
    border-left: 4px solid #FF424D;
}

.toast-success {
    border-left: 4px solid #00FF66;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-error .toast-icon { color: #FF424D; }
.toast-success .toast-icon { color: #00FF66; }

.toast-message {
    color: var(--body-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: toastProgress 4s linear forwards;
}

.toast-error .toast-progress { background: #FF424D; }
.toast-success .toast-progress { background: #00FF66; }

@keyframes toastProgress {
    0% { width: 100%; }
    100% { width: 0%; }
}

.btn-disabled-visual {
    opacity: 0.5;
    filter: grayscale(80%);
    cursor: not-allowed !important;
}
.dino-showcase {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dino-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.8));
}

.dino-name-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.dino-name-wrapper h3 {
    font-size: 26px;
    font-weight: 900;
    color: var(--body-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prime-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prime-status.active {
    background: rgba(255, 209, 102, 0.1);
    color: var(--glow-text);
    border: 1px solid rgba(255, 209, 102, 0.3);
    box-shadow: 0 0 15px rgba(255, 209, 102, 0.2);
}

.prime-status.inactive {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

.stat-box {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(140, 28, 19, 0.2);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.stat-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-accent);
}