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

:root {
    /* Galaxy Theme / OrigonHub v2 */
    --ink-black: #05050a;
    --ancient-paper: #f8fafc;
    --blood-seal: #8b5cf6;
    --rust: #6d28d9;
    --faded-gold: #38bdf8;
    --dark-leather: #0f172a;
    
    --shadow-seal: 0 0 30px rgba(139, 92, 246, 0.4);
    --shadow-cyan: 0 0 30px rgba(56, 189, 248, 0.4);
    
    --font-title: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-mc: 'VT323', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--ink-black);
    color: var(--ancient-paper);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Animated Gradient Galaxy Background */
    background: radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.1), transparent 40%),
                var(--ink-black);
    background-size: cover;
    background-attachment: fixed;
}

/* Fundo Estrelado Dinâmico */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(1.5px 1.5px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 160px 120px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: stars 100s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: -2;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

h1, h2, h3 {
    font-family: var(--font-title);
    letter-spacing: 2px;
}

/* Navbar Glassmorphism */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
    z-index: 1000;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ancient-paper);
    text-decoration: none;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo span {
    color: var(--blood-seal);
    text-shadow: var(--shadow-seal);
}

.nav-links a {
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--faded-gold);
    text-shadow: var(--shadow-cyan);
}

/* Hero Section */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.hero-tag {
    font-family: var(--font-mc);
    color: var(--faded-gold);
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: var(--shadow-cyan);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--ancient-paper), #aab3cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 3rem;
    color: rgba(248, 250, 252, 0.8);
}

/* Botão IP Premium */
.ip-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.ip-box:hover {
    border-color: var(--blood-seal);
    box-shadow: var(--shadow-seal);
    transform: translateY(-2px);
}

.ip-text {
    font-family: var(--font-mc);
    font-size: 1.8rem;
    color: var(--ancient-paper);
    padding: 0.5rem 1.5rem;
    letter-spacing: 2px;
}

.btn-play {
    background: linear-gradient(135deg, var(--blood-seal), var(--rust));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-play:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-seal);
}

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

/* Status do Servidor */
.server-status {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.4);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(248, 250, 252, 0.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--faded-gold);
    border-radius: 50%;
    box-shadow: var(--shadow-cyan);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.status-dot.online {
    background-color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
}

.status-dot.offline {
    background-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
    animation: none;
}

#player-count {
    font-family: var(--font-mc);
    font-size: 1.3rem;
    color: rgba(248, 250, 252, 0.9);
}

/* Player Panel Section */
.player-panel-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: -4rem auto 4rem auto;
    position: relative;
    z-index: 20;
}

.player-panel-glass {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.player-panel-glass h2 {
    color: var(--faded-gold);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.player-panel-glass p {
    color: rgba(248, 250, 252, 0.6);
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2rem;
}

.search-box input {
    background: rgba(5, 5, 10, 0.6);
    border: 1px solid rgba(248, 250, 252, 0.2);
    color: var(--ancient-paper);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-mc);
    font-size: 1.2rem;
    width: 100%;
    max-width: 300px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--faded-gold);
    box-shadow: var(--shadow-cyan);
}

.search-box button {
    background: var(--blood-seal);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: var(--rust);
    box-shadow: var(--shadow-seal);
}

.player-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(5, 5, 10, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    animation: fadeInScrawl 0.5s ease forwards;
}

.skin-container img {
    height: 180px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.player-data {
    text-align: left;
}

.player-data h3 {
    font-size: 2.5rem;
    color: var(--ancient-paper);
    margin-bottom: 1rem;
    font-family: var(--font-mc);
}

.player-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-survival {
    background: rgba(56, 189, 248, 0.2);
    color: var(--faded-gold);
    border: 1px solid var(--faded-gold);
}

.badge-auth {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid #4ade80;
}

/* Cards Section */
.systems-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--ancient-paper);
}

.section-title span {
    color: var(--blood-seal);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Glassmorphism Cards */
.system-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: 16px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--blood-seal), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.system-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.system-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(var(--shadow-seal));
}

.system-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--faded-gold);
}

.system-card p {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(5, 5, 10, 0.9);
    border-top: 1px solid rgba(248, 250, 252, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .ip-box { flex-direction: column; padding: 1rem; }
    .btn-play { width: 100%; }
}
