/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Add scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #9333ea, #ec4899);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #7e22ce, #db2777);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Advanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.3); }
    50% { box-shadow: 0 0 30px rgba(147, 51, 234, 0.6), 0 0 40px rgba(236, 72, 153, 0.3); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Particle background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(147, 51, 234, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(236, 72, 153, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(16, 185, 129, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header:hover {
    background: rgba(0, 0, 0, 0.98);
    border-bottom-color: rgba(147, 51, 234, 0.4);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
    animation: slideInUp 0.6s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    animation: glow 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 2s linear infinite;
}

.logo-text {
    font-weight: 600;
    font-size: 1.125rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    color: #d1d5db;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff;
    background: rgba(147, 51, 234, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:active {
    transform: translateY(0);
}

.nav-link.active {
    color: #fff;
    background: rgba(147, 51, 234, 0.2);
}

.nav-link.active::before {
    width: 80%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box {
    display: none;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
}

.search-input {
    width: 200px;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.375rem;
    color: #fff;
    font-size: 0.875rem;
}

.search-input::placeholder {
    color: #6b7280;
}

.icon-btn {
    padding: 0.5rem;
    color: #d1d5db;
    transition: color 0.2s;
    font-size: 1.25rem;
}

.icon-btn:hover {
    color: #fff;
}

.menu-btn {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #000, rgba(0, 0, 0, 0.7), transparent);
}

.hero-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 42rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-new {
    background-color: #9333ea;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: #fff;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7e22ce, #db2777);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(147, 51, 234, 0.3);
}

.btn-outline {
    border: 2px solid transparent;
    background: linear-gradient(#111827, #111827) padding-box,
                linear-gradient(135deg, #9333ea, #ec4899) border-box;
    color: #fff;
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1)) padding-box,
                linear-gradient(135deg, #9333ea, #ec4899) border-box;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.2);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-flex {
    flex: 1;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.meta-label {
    color: #fff;
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #000, #030712);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(145deg, #111827, #1f2937);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s ease forwards;
    opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    animation: rotateIn 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.2);
    background: linear-gradient(145deg, #1f2937, #374151);
}

.stat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.icon-blue {
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}

.icon-purple {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.icon-orange {
    background: linear-gradient(to bottom right, #f97316, #ef4444);
}

.icon-green {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

.icon-yellow {
    background: linear-gradient(to bottom right, #eab308, #f59e0b);
}

.icon-indigo {
    background: linear-gradient(to bottom right, #6366f1, #8b5cf6);
}

.icon-red {
    background: linear-gradient(to bottom right, #ef4444, #f97316);
}

.stat-change {
    color: #10b981;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Categories Section */
.categories-section {
    padding: 3rem 0;
    background-color: #000;
}

.section-title {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.category-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.category-card:hover {
    border-color: #9333ea;
}

.category-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.2s;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 0.875rem;
    text-align: center;
}

/* Popular Games Section */
.popular-games-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #000, #030712);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-subtitle {
    color: #9ca3af;
    margin-top: 0.5rem;
}

.tabs {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.375rem;
    padding: 0.25rem;
    display: flex;
    gap: 0.25rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    color: #d1d5db;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    background-color: #9333ea;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.game-card {
    background: linear-gradient(145deg, #111827, #1f2937);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.5s;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    background: linear-gradient(145deg, #1f2937, #374151);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.5);
}

.game-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.badge-popular {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #eab308;
    color: #000;
}

.badge-genre {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
}

.game-info {
    padding: 1rem;
}

.game-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #eab308;
    font-size: 0.875rem;
}

.game-rating i {
    fill: currentColor;
}

.game-price {
    color: #a855f7;
    font-weight: 500;
}

/* Showcase Section */
.showcase-section {
    padding: 4rem 0;
    background-color: #000;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.showcase-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
}

.showcase-video {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #030712;
}

.showcase-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background-color: #9333ea;
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    padding-left: 0.25rem;
}

.play-btn:hover {
    background-color: #7e22ce;
}

.video-badges {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.badge-dark {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
}

.showcase-tabs {
    padding: 1.5rem;
}

.showcase-tabs .tabs {
    margin-bottom: 1.5rem;
}

.showcase-content {
    color: #d1d5db;
}

.showcase-content h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.showcase-content h4 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.showcase-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.feature-list li::before {
    content: "•";
    color: #a855f7;
    font-weight: bold;
    margin-top: 0.25rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.screenshot-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.achievement-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.5rem;
}

.achievement-details {
    flex: 1;
}

.achievement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.achievement-header h4 {
    color: #fff;
    margin: 0;
}

.achievement-header p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

.achievement-progress {
    color: #a855f7;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: #1f2937;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #9333ea, #ec4899);
    border-radius: 9999px;
    transition: width 0.3s;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.specs-column h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.spec-item {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.spec-label {
    color: #9ca3af;
}

.spec-value {
    color: #fff;
    margin-left: 0.5rem;
}

/* Sidebar */
.showcase-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.purchase-card,
.platform-card,
.stats-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.cover-image {
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.price-section {
    margin-bottom: 1.5rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 1.875rem;
    font-weight: bold;
}

.price-old {
    color: #9ca3af;
    text-decoration: line-through;
}

.badge-sale {
    background-color: #10b981;
    color: #fff;
}

.sale-note {
    font-size: 0.875rem;
    color: #9ca3af;
}

.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.game-details {
    padding-top: 1.5rem;
    border-top: 1px solid #1f2937;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.detail-label {
    color: #9ca3af;
}

.detail-value {
    color: #fff;
}

.platform-card h4,
.stats-card h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.platform-item.disabled {
    color: #6b7280;
}

.stat-item {
    margin-bottom: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.stat-name {
    color: #9ca3af;
}

.stat-val {
    color: #fff;
}

/* Live Streams Section */
.streams-section {
    padding: 4rem 0;
    background-color: #030712;
}

.section-header-live {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-live-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(to bottom right, #ef4444, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.badge-live {
    background-color: #dc2626;
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #fff;
    border-radius: 9999px;
}

.pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background-color: #fff;
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.streams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stream-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.stream-card:hover {
    border-color: #9333ea;
}

.stream-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
}

.stream-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.stream-card:hover .stream-thumbnail img {
    transform: scale(1.05);
}

.badge-live-small {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: #dc2626;
    color: #fff;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.viewer-count {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stream-info {
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
}

.stream-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #9333ea;
}

.stream-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-details {
    flex: 1;
    min-width: 0;
}

.stream-details h4 {
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.streamer-name {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.stream-game {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Developers Section */
.developers-section {
    padding: 4rem 0;
    background-color: #030712;
}

.developers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.developer-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

.developer-card:hover {
    border-color: #9333ea;
}

.developer-banner {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.developer-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.developer-card:hover .developer-banner img {
    transform: scale(1.1);
}

.developer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #111827, rgba(17, 24, 39, 0.5), transparent);
}

.badge-trending {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(to right, #f97316, #ef4444);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.developer-content {
    padding: 1.5rem;
}

.developer-header {
    margin-bottom: 1rem;
}

.developer-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.developer-name h3 {
    font-size: 1rem;
}

.verified-badge {
    color: #3b82f6;
    font-size: 1rem;
}

.developer-specialty {
    color: #9ca3af;
    font-size: 0.875rem;
}

.developer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
    margin-bottom: 1rem;
}

.dev-stat {
    text-align: center;
}

.dev-stat-value {
    color: #fff;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.dev-stat-value i {
    color: #eab308;
    font-size: 0.75rem;
}

.dev-stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 1rem;
}

.contact-info .section-subtitle {
    margin-bottom: 2rem;
    max-width: none;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.75rem;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(147, 51, 234, 0.4);
    transform: translateX(10px);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.25rem;
}

.contact-item h4 {
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    color: #9ca3af;
    margin: 0;
}

.contact-form {
    background: linear-gradient(145deg, #111827, #1f2937);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
}

.contact-form h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
    background: rgba(17, 24, 39, 1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6b7280;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    margin-top: 1rem;
}

/* Resources Section */
.resources-section {
    padding: 4rem 0;
    background-color: #000;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-center .section-subtitle {
    max-width: 42rem;
    margin: 0 auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.resource-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.resource-card:hover {
    border-color: #9333ea;
}

.resource-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.resource-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1);
}

.resource-title h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.resource-title p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #1f2937;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.resource-actions {
    display: flex;
    gap: 0.5rem;
}

.cta-card {
    background: linear-gradient(to right, #581c87, #831843);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: #e5e7eb;
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.btn-white {
    background-color: #fff;
    color: #581c87;
}

.btn-white:hover {
    background-color: #f3f4f6;
}

.btn-outline-white {
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: #000;
    border-top: 1px solid #1f2937;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Media Queries */
@media (min-width: 640px) {
    .search-box {
        display: block;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .streams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .menu-btn {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .form-group {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .streams-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .developers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .contact-item {
        flex: 1;
        min-width: 250px;
    }
}

/* Enhanced Animation Classes */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards Enhancement */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::after {
    left: 100%;
}

/* Team Card Enhancement */
.team-card .badge-live-small {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    animation: pulse 2s infinite;
}

/* Enhanced Hero Section */
.hero-title {
    background: linear-gradient(135deg, #fff, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease 0.5s both;
}

.hero-description {
    animation: slideInUp 1s ease 0.7s both;
}

.hero-buttons {
    animation: slideInUp 1s ease 0.9s both;
}

.hero-meta {
    animation: slideInUp 1s ease 1.1s both;
}

/* Glowing text effect */
.glow-text {
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Loading animation */
@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: loading 1s linear infinite;
}

/* Hover effects for icons */
.stat-icon:hover {
    animation: pulse 0.5s ease;
}

.category-icon:hover {
    animation: rotateIn 0.5s ease;
}

/* Enhanced button hover states */
.btn:hover {
    animation: pulse 0.3s ease;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom gradient borders */
.gradient-border {
    border: 2px solid transparent;
    background: linear-gradient(#111827, #111827) padding-box,
                linear-gradient(135deg, #9333ea, #ec4899) border-box;
}

/* Floating animation for badges */
.badge {
    animation: float 3s ease-in-out infinite;
}

.badge:nth-child(even) {
    animation-delay: 1.5s;
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

/* Dark theme enhancements */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
