:root {
    --primary-color: #000000;
    --secondary-color: #16213e;
    --accent-color: #00aaff;
    --text-color: #ffffff;
    --card-bg: #1e1e1e;
    --gradient-start: #1a1a2e;
    --gradient-end: #16213e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 15px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(-45deg);
    animation: heroWave 2s linear infinite;
}

@keyframes heroWave {
    0% { transform: rotate(-45deg) translateX(-100%); }
    100% { transform: rotate(-45deg) translateX(100%); }
}

.hero-section h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    color: var(--accent-color);
}

.hero-section p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 10px;
}

/* Kategori Styling */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.category-section {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.category-section:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.category-section h2 {
    color: var(--accent-color);
    padding: 15px;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    text-align: center;
}

.category-card {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

/* Styling untuk gambar kategori */
.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.category-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
    padding: 3px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.category-section:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
    border-color: #fff;
}

/* Animasi pulse untuk avatar */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 170, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0);
    }
}

.category-icon:hover {
    animation: pulse 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-icon {
        width: 80px;
        height: 80px;
    }
}

.category-content p {
    color: #a3a3a3;
    font-size: 0.9rem;
    margin-top: 10px;
}

.marquee1 {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background: #222a35;
    padding: 8px 0;
}
.marquee1 span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
    color: #ffcc00;
    font-weight: bold;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

footer {
    background-color: var(--primary-color);
    text-align: center;
    padding: 30px 15px;
    margin-top: 40px;
    border-top: 1px solid rgba(249, 249, 249, 0.2);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
}

footer p {
    color: #a3a3a3;
    margin-bottom: 10px;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 20px;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .category-section {
        margin-bottom: 0;
    }

    .category-content {
        padding: 20px;
    }
}

@media (min-width: 1024px) {
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .hero-section {
        padding: 50px 30px;
    }

    .category-icon {
        width: 100px;
        height: 100px;
    }
}

/* Streaming Section Styles */
.streaming-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--primary-color);
}

.section-title {
    text-align: center;
    color: var(--accent-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.streaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.stream-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 170, 255, 0.1);
}

.stream-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.2);
}

.stream-icon {
    flex-shrink: 0;
    margin-right: 1rem;
    position: relative;
}

.stream-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    padding: 3px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.stream-card:hover .stream-icon img {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
}

.stream-info {
    flex-grow: 1;
}

.stream-info h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.stream-info p {
    color: #a3a3a3;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .streaming-container {
        padding: 1rem;
    }

    .stream-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .stream-icon {
        margin: 0 0 1rem 0;
    }

    .stream-icon img {
        width: 100px;
        height: 100px;
    }

    .stream-info h3 {
        font-size: 1.1rem;
    }
}

/* Animation for icon hover */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 170, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 170, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 170, 255, 0); }
}

.stream-card:hover .stream-icon img {
    animation: pulse 1.5s infinite;
}