:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #9d4edd;
    --secondary-dark: #7b2cbf;
    --bg-dark: #0a0a1a;
    --bg-card: #12122a;
    --bg-card-hover: #1a1a3a;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --success: #00ff88;
    --error: #ff4757;
    --warning: #ffa502;
    --border: #00d4ff33;
    --neon-blue: #00d4ff;
    --neon-purple: #9d4edd;
    --neon-glow: 0 0 20px rgba(0, 212, 255, 0.5);
    --neon-glow-purple: 0 0 20px rgba(157, 78, 221, 0.5);
}

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

body {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1f 100%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--text);
    text-shadow: var(--neon-glow);
}

.highlight {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

.highlight-secondary {
    color: var(--secondary);
    text-shadow: var(--neon-glow-purple);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    text-shadow: var(--neon-glow);
}

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

.user-stats {
    display: flex;
    gap: 10px;
}

.level-badge,
.coins-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.level-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
}

.coins-badge {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: var(--bg-dark);
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: var(--neon-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--neon-glow);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.main-content {
    margin-top: 70px;
    padding: 40px 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section {
    position: relative;
    padding: 100px 40px;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(157, 78, 221, 0.2)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}

.announcements-section,
.partners-section,
.files-preview,
.store-preview {
    margin-bottom: 60px;
}

.announcements-grid,
.partners-grid,
.files-grid,
.store-grid,
.countdowns-grid,
.forums-grid,
.suggestions-grid,
.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.announcement-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

.announcement-card.pinned {
    border-color: var(--warning);
    box-shadow: 0 0 20px rgba(255, 165, 2, 0.3);
}

.pin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warning);
    color: var(--bg-dark);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--neon-glow-purple);
}

.partner-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.file-card,
.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.file-card:hover,
.store-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

.file-card img,
.store-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.file-icon {
    font-size: 4rem;
    text-align: center;
    padding: 30px;
    background: var(--bg-card-hover);
    border-radius: 10px;
    margin-bottom: 15px;
}

.file-meta {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
    margin: 10px 0;
}

.price.free {
    color: var(--success);
}

.countdown-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.countdown-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.countdown-timer {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: var(--neon-glow);
    margin: 20px 0;
}

.final-title {
    font-size: 1.2rem;
    color: var(--secondary);
}

.forum-card,
.suggestion-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.forum-card:hover,
.suggestion-card:hover {
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

.problem-tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tag-juego { background: #ff6b6b; color: var(--bg-dark); }
.tag-programa { background: #4ecdc4; color: var(--bg-dark); }
.tag-script { background: #ffe66d; color: var(--bg-dark); }

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 10px 0;
}

.status-open { background: var(--success); color: var(--bg-dark); }
.status-solved { background: var(--primary); color: var(--bg-dark); }
.status-closed { background: var(--text-muted); color: var(--bg-dark); }

.links {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.btn-steam { background: #171a21; color: var(--text); }
.btn-epic { background: #2f2f2f; color: var(--text); }

.votes {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
}

.panel-card.admin,
.panel-card.mod {
    border-color: var(--warning);
}

.profile-header {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 100px;
    border-bottom: 3px solid var(--primary);
}

.profile-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.profile-avatar {
    position: absolute;
    bottom: 20px;
    left: 30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: var(--neon-glow);
}

.profile-info {
    position: absolute;
    bottom: 30px;
    left: 200px;
}

.profile-info h1 {
    font-size: 2.5rem;
}

.role-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

.role-owner { background: linear-gradient(135deg, #ffd700, #ff8c00); color: var(--bg-dark); }
.role-admin { background: linear-gradient(135deg, #ff4757, #c0392b); color: var(--text); }
.role-moderator { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--bg-dark); }
.role-vip { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); color: var(--text); }
.role-staff { background: #27ae60; color: var(--text); }
.role-member { background: var(--text-muted); color: var(--bg-dark); }

.profile-bio {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.profile-favorites {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.favorites-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.favorites-list li {
    padding: 10px 20px;
    background: var(--bg-card-hover);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.profile-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.stat {
    text-align: center;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 15px;
    min-width: 150px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer {
    background: var(--bg-card);
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.modal-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-content .close:hover {
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.auth-header h1 {
    font-size: 2.5rem;
}

.auth-form {
    margin-bottom: 30px;
}

.auth-footer {
    text-align: center;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.page-section {
    margin-bottom: 60px;
}

.upload-section {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .announcements-grid,
    .partners-grid,
    .files-grid,
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        padding-bottom: 200px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .profile-info {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}