@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --discord-blue: #5865F2;
    --discord-hover: #4752c4;
    --bg-dark: #23272A;
    --bg-card: #2B2D31;
    --bg-input: #1E1F22;
    --text-white: #FFFFFF;
    --text-muted: #B5BAC1;
    --text-dim: #949BA4;
    --green: #43b581;
    --red: #f04747;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 3px;
    --radius-md: 8px;
    --radius-lg: 20px;
    --radius-xl: 50px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(30, 31, 34, 0.6);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.05);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.slide-out {
    transform: translateY(60px) scale(0.95);
    opacity: 0;
}

::selection {
    background: var(--discord-blue);
    color: white;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--discord-blue); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--discord-hover); }

/* --- NAVBAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-subtle);
    transition: var(--transition);
}

.logo {
    font-weight: 900;
    font-size: 1.1rem;
    background: var(--discord-blue);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: rotate(-2deg) scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--discord-blue);
    transition: width 0.3s ease;
}

nav a:hover {
    color: white;
}

nav a:hover::after {
    width: 100%;
}

.btn-login {
    background-color: white;
    color: black !important;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-login:hover {
    background-color: var(--discord-blue);
    color: white !important;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: scale(0.95);
}

.btn-login::after { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero, .status-hero, .login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(35, 39, 42, 0.85), rgba(35, 39, 42, 0.95)), url('banner.png') center/cover fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(88, 101, 242, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 900;
    margin: 0;
    letter-spacing: -3px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    position: relative;
    animation: fadeInDown 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 40px;
    opacity: 0.8;
    font-weight: 500;
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-main {
    background-color: var(--discord-blue);
    color: white;
    padding: 18px 40px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.btn-main:hover {
    background-color: var(--discord-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.6);
}

.btn-main:active {
    transform: translateY(-2px) scale(0.97);
}

/* --- STATUS PAGE --- */
.status-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.status-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -1px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.status-card {
    background: rgba(43, 45, 49, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    transition: var(--transition);
}

.status-card:hover {
    transform: translateY(-8px);
    border-color: var(--discord-blue);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.main-status {
    border-bottom: 4px solid var(--discord-blue);
}

.big-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, white, var(--discord-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.online {
    background: var(--green);
    box-shadow: 0 0 15px var(--green);
}

.online::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.offline {
    background: var(--red);
    box-shadow: 0 0 15px var(--red);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.progress-bar {
    background: rgba(255, 255, 255, 0.05);
    height: 10px;
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    overflow: hidden;
    margin-top: 15px;
}

#player-bar {
    height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, var(--discord-blue), #8b5cf6);
    transition: width 0.5s ease;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-link:hover {
    color: white;
}

/* --- AUTH PAGES --- */
.login-page {
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}

.login-container {
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.6s ease;
    display: flex;
    justify-content: center;
}

.login-card {
    background: #313338;
    padding: 32px;
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: var(--shadow);
    border: var(--border-subtle);
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.login-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    width: 100%;
    text-align: center;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: center;
    margin: 5px 0 25px;
    width: 100%;
}

.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.required { color: #F23F42; }

.input-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    color: #DBDEE1;
    font-size: 1rem;
    transition: border 0.2s ease;
    display: block;
    margin: 0;
}

.input-group input:focus {
    outline: none;
    border-color: var(--discord-blue);
}

.input-group input::placeholder {
    color: rgba(255,255,255,0.2);
}

.forgot-password {
    display: block;
    color: #00A8FC;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 8px;
}

.forgot-password:hover { text-decoration: underline; }

.btn-primary-auth {
    width: 100%;
    background: var(--discord-blue);
    color: white;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s, transform 0.1s;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary-auth:hover {
    background: var(--discord-hover);
}

.btn-primary-auth:active {
    transform: scale(0.97);
}

/* --- GIFT CODE PAGE --- */
.gift-container {
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gift-card {
    background: #313338;
    padding: 40px;
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: var(--shadow);
    border: var(--border-subtle);
    text-align: center;
}

.gift-card h2 {
    font-size: 1.8rem;
    margin: 0 0 8px;
}

.gift-card p {
    color: var(--text-muted);
    margin: 0 0 30px;
}

.gift-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.gift-input-group input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    transition: border 0.2s;
    font-family: 'Courier New', monospace;
}

.gift-input-group input:focus {
    outline: none;
    border-color: var(--discord-blue);
}

.gift-input-group input::placeholder {
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: none;
    color: rgba(255,255,255,0.2);
}

.btn-gift {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--discord-blue), #8b5cf6);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn-gift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.btn-gift:active {
    transform: scale(0.97);
}

.gift-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: none;
}

.gift-result.success {
    display: block;
    background: rgba(67, 181, 129, 0.15);
    border: 1px solid var(--green);
    color: var(--green);
}

.gift-result.error {
    display: block;
    background: rgba(240, 71, 71, 0.15);
    border: 1px solid var(--red);
    color: var(--red);
}

.gift-reward {
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    display: none;
}

.gift-reward.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.gift-reward .reward-amount {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--discord-blue), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-reward .reward-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* --- RIPPLE EFFECT --- */
.ripple-btn {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    animation: rippleAnim 0.6s ease-out forwards;
}

@keyframes rippleAnim {
    from { transform: scale(0); opacity: 1; }
    to { transform: scale(4); opacity: 0; }
}

nav a:active, .back-link:active, .back-home:active, .register-text a:active,
.forgot-password:active, .login-footer-back a:active, .mention-btn:active {
    opacity: 0.6;
    transition: opacity 0.05s;
}

.register-text {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 15px;
    text-align: center;
}

.link-btn {
    background: none;
    border: none;
    color: #00A8FC;
    text-decoration: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
}

.link-btn:hover {
    text-decoration: underline;
}

.register-text a {
    color: #00A8FC;
    text-decoration: none;
}

.login-footer-back {
    margin-top: 30px;
    text-align: center;
    border-top: var(--border-subtle);
    padding-top: 20px;
}

.login-footer-back a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.login-footer-back a:hover {
    color: white;
}

/* --- DOWNLOAD PAGE --- */
.download-hero .hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.back-home {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.back-home:hover {
    color: white;
}

/* --- MENTIONS PAGE --- */
.mentions-page {
    background-color: var(--bg-dark);
    min-height: 100vh;
}

.mentions-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-subtle);
}

.mentions-nav .logo {
    color: white;
    font-weight: bold;
}

.mentions-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.mentions-nav a:hover {
    color: white;
}

.mentions-hero {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('banner.png') center/cover fixed;
    position: relative;
}

.mentions-hero h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 0;
    font-weight: 900;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.mentions-hero p {
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
}

.mentions-content {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.mention-card {
    background: #23272a;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid var(--discord-blue);
    transition: var(--transition);
}

.mention-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.mention-card h2 {
    color: white;
    margin-top: 0;
}

.mention-card p {
    color: #b9bbbe;
    line-height: 1.6;
}

.mention-card strong {
    color: white;
}

.mention-btn {
    display: inline-block;
    background: var(--discord-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.mention-btn:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
}

.mentions-footer {
    text-align: center;
    padding: 40px;
    color: #72767d;
    font-size: 0.9rem;
    border-top: var(--border-subtle);
}

/* --- FOOTER --- */
footer {
    width: 100%;
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.footer-simple {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    align-items: center;
}

.footer-simple a {
    color: var(--discord-blue);
    text-decoration: none;
    transition: 0.3s;
}

.footer-simple a:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(30, 31, 34, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        z-index: 99;
    }

    nav ul.active {
        display: flex;
    }

    nav ul a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
        z-index: 100;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .btn-login {
        display: none;
    }

    .nav-mobile-btn {
        display: inline-block !important;
        margin-top: 10px;
    }

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

    .login-card {
        padding: 24px;
    }
}

@media (min-width: 769px) {
    .nav-mobile-btn {
        display: none !important;
    }
}
