/* Reality FiveM Portal - Modern CSS */
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --border-color: #333333;
    --border-subtle: #2a2a2a;
    --success: #10b981;
    --error: #ef4444;
    --discord: #5865F2;
    --twitch: #9146FF;
    --youtube: #FF0000;
    --twitter: #1DA1F2;
    --tiktok: #000000;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 15, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(5rem, 12vw, 11rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.92;
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stat-item i {
    color: var(--primary);
    font-size: 1.2em;
}

/* Buttons */
.portal-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 320px;
    margin: 1.5rem 0 2rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.portal-btn:active {
    transform: translateY(0);
}

.btn-discord {
    background: var(--discord);
    color: white;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-1px);
}

.discord-invite {
    margin-top: 1.5rem;
}

/* Server Info Section */
.server-info {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    text-align: center;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.server-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.detail-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.detail-item i {
    color: var(--primary);
    font-size: 1.5rem;
    width: 2rem;
    text-align: center;
}

.detail-item span {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.editable {
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.editable:hover {
    background: var(--bg-primary);
}

/* Social Media Section */
.social-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.social-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.social-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-card .btn-twitch { background: var(--twitch); }
.social-card .btn-youtube { background: var(--youtube); }
.social-card .btn-twitter { background: var(--twitter); }
.social-card .btn-tiktok { background: var(--tiktok); }

.social-card .btn-twitch:hover { background: #772CE8; }
.social-card .btn-youtube:hover { background: #CC0000; }
.social-card .btn-twitter:hover { background: #1a91da; }
.social-card .btn-tiktok:hover { background: #1a1a1a; }

.btn-twitch, .btn-youtube, .btn-twitter, .btn-tiktok {
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
}

/* Live Streamers */
#live-streamers {
    margin: 1rem 0;
    min-height: 60px;
}

.streamer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.live-indicator {
    color: #ef4444;
    animation: pulse 2s infinite;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.streamer-name {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        font-size: 1.1rem;
    }
    
    .portal-btn {
        min-width: 100%;
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .server-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-content h2,
    .social-content h2 {
        font-size: 2rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(3rem, 10vw, 6rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .social-card {
        padding: 1.5rem;
    }
}

/* Animationer */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

.stat-item {
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }

.portal-btn {
    animation: fadeIn 1s ease-out;
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.discord-invite {
    animation: fadeIn 1s ease-out;
    animation-delay: 0.8s;
    animation-fill-mode: both;
}

.social-card {
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.social-card:nth-child(1) { animation-delay: 0.2s; }
.social-card:nth-child(2) { animation-delay: 0.4s; }
.social-card:nth-child(3) { animation-delay: 0.6s; }
.social-card:nth-child(4) { animation-delay: 0.8s; }

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}