:root {
    --primary-bg: #0a0a0b;
    --accent-color: #c4a484; /* Ouro/Bronze para VIP feel */
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --neon-glow: rgba(196, 164, 132, 0.5);
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(196, 164, 132, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(196, 164, 132, 0.05) 0%, transparent 40%);
}

@media (min-width: 1024px) {
    body { overflow: hidden; }
    --accent-red: #ff3b3b;
}

.live-signal {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent-red);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.live-signal .pulse {
    font-size: 1.2rem;
    animation: broadcastPulse 1.5s infinite;
}

@keyframes broadcastPulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }

.hub-container {
    max-width: 1400px;
    width: 95%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.header {
    margin-bottom: 2vh;
}

.header img {
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.header h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--accent-color);
    text-transform: uppercase;
}

.header p {
    opacity: 0.6;
    font-size: 1.1rem;
    margin-top: 10px;
}

.admin-link-top {
    position: absolute;
    top: 30px;
    right: 0;
}

.admin-link-top a {
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid rgba(196, 164, 132, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.admin-link-top a:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--neon-glow);
}

/* Dashboard Stats Preview */
.live-preview {
    position: absolute;
    top: 30px;
    left: 0;
    display: flex;
    gap: 12px;
    z-index: 100;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    text-align: left;
    min-width: 120px;
}

.stat-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
    font-weight: 800;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

/* Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.template-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--neon-glow);
}

.card-preview {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--primary-bg), transparent);
}

.card-info {
    padding: 20px;
    text-align: left;
}

.card-info h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-info p {
    font-size: 0.8rem;
    opacity: 0.6;
    line-height: 1.4;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: #000;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.lite-badge {
    background: #00adef;
    color: #fff;
}

footer {
    margin-top: 2vh;
    padding-bottom: 20px;
    opacity: 0.3;
    font-size: 0.7rem;
    letter-spacing: 1px;
}
