:root {
    --primary-color: #0A0A23;
    --secondary-color: #1A1A40;
    --accent-1: #00FFFF;
    --accent-2: #00EFFF;
    --accent-3: #FF00B8;
    --accent-4: #FF38D2;
    --text-light: #FFFFFF;
    --text-muted: #A0A0C0;
    --font-heading: 'Bubblegum Sans', cursive;
    --font-body: 'Gabarito', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ensure content is above the particle canvas */
main {
    position: relative;
    z-index: 1;
}

footer {
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 35, 0.9);
}

/* Particle canvas styles */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above the particle canvas */
main > *:not(canvas) {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: var(--accent-1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-2);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 239, 255, 0.3);
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
}

.btn-secondary:hover {
    background: rgba(0, 239, 255, 0.1);
    transform: translateY(-3px);
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-3), var(--accent-4));
    border-radius: 3px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: rgba(15, 15, 30, 0.95);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--accent-1);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-2);
}

.modal-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: var(--accent-1);
}

.tab-btn.active:after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

.bonus-steps {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    line-height: 1.8;
}

.bonus-steps li {
    margin-bottom: 0.8rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Info Link */
.info-link {
    color: var(--accent-1);
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.info-link:hover {
    color: var(--accent-2);
    text-decoration: underline;
}

/* Live Status Indicator */
.live-status-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: rgba(22, 22, 35, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.live-status-indicator.visible {
    transform: translateY(0);
    opacity: 1;
}

.live-status-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.live-status-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.live-status-badge {
    display: flex;
    align-items: center;
    background: #ff215b;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-status-badge.offline {
    background: #6c757d;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

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

.live-status-info {
    display: flex;
    flex-direction: column;
}

.live-username {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.live-viewers {
    font-size: 0.75rem;
    color: #adb5bd;
    display: flex;
    align-items: center;
}

.live-viewers:before {
    content: '👁️';
    margin-right: 4px;
    font-size: 0.8em;
}

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

/* Page load animations */
.animate-on-load {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Lazy loading for images */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Footer Styles */
.footer {
    background: var(--secondary-color);
    padding: 3rem 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 239, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--accent-1);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-3);
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .site-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-warning {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    border-left: 3px solid var(--accent-3);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    display: block;
    padding: 0.25rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-1);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--accent-1);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-1);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Gaya khusus untuk logo Kick */
.kick-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(78%) sepia(52%) saturate(7498%) hue-rotate(154deg) brightness(102%) contrast(101%);
    transition: all 0.3s ease;
}

.kick-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kick-link:hover .kick-logo {
    filter: brightness(0) saturate(100%) invert(7%) sepia(12%) saturate(1788%) hue-rotate(183deg) brightness(96%) contrast(93%);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom .designer {
    color: var(--accent-1);
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom .designer:hover {
    color: var(--accent-3);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        display: inline-block;
        text-align: left;
    }
    
    .social-links {
        justify-content: center;
    }
}
