:root {
    --primary-color: #00f3ff;
    --secondary-color: #9d00ff;
    --accent-color: #ff00f7;
    --dark-bg: #0a0a0f;
    --darker-bg: #050507;
    --card-bg: rgba(16, 16, 24, 0.8);
    --sidebar-width: 250px;
    --mobile-padding: 1rem;
    --mobile-sidebar-width: 0px;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: #fff;
    line-height: 1.6;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    margin-bottom: 3rem;
}

.nav-links li {
    margin-bottom: 1rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.nav-links i {
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: var(--card-bg);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
}

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

.hero-text {
    margin-bottom: 3rem;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.primary {
    background: var(--primary-color);
    color: var(--dark-bg);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Games Page Styles */
.games-page {
    padding: 2rem;
    min-height: 100vh;
    position: relative;
}

/* Grid View Styles */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.game-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.game-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-banner img {
    transform: scale(1.1);
}

.game-title {
    padding: 1.5rem;
    background: linear-gradient(to top, var(--card-bg), transparent);
}

.game-title h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.game-title p {
    color: rgba(255, 255, 255, 0.7);
}

/* Detail View Styles */
.game-detail-view {
    display: none;
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    bottom: 0;
    background: var(--dark-bg);
    z-index: 100;
    overflow-y: auto;
    padding: 2rem;
}

.game-detail-view.active {
    display: block;
}

.back-button {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background: var(--primary-color);
}

.game-content {
    max-width: 1200px;
    margin: 4rem auto;
}

.game-header {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.game-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-box {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.stat-box .label {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.stat-box .value {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Other Games Section */
.other-games {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    padding: 1rem;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.game-circles {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
}

.game-circle {
    flex: 0 0 auto; /* Prevent flex items from stretching */
    width: 80px; /* Set a fixed width */
    height: 80px; /* Set a fixed height */
    border-radius: 50%; /* Make it circular */
    overflow: hidden; /* Ensure the image fits within the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Center the circles */
}

.game-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the circle without distortion */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .game-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .game-stats {
        grid-template-columns: 1fr;
    }

    :root {
        --sidebar-width: 0px;
    }

    .hamburger-menu {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 80%;
        max-width: 300px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: var(--mobile-padding);
    }

    /* Hero Section Adjustments */
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Stats Adjustments */
    .stat-card {
        padding: 1rem;
    }

    .stat-card .number {
        font-size: 2rem;
    }

    /* Game Cards Adjustments */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .game-banner {
        height: 150px;
    }

    /* Game Detail View Adjustments */
    .game-detail-view {
        left: 0;
        padding: 1rem;
    }

    .game-header {
        height: 250px;
    }

    .back-button {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
    }

    /* Other Games Section Adjustments */
    .other-games {
        left: 0;
    }

    /* Streaming Section Adjustments */
    .stream-container {
        padding: 1rem;
    }

    .schedule-day {
        padding: 0.8rem;
    }

    /* Achievement Section Adjustments */
    .achievement-card {
        padding: 1rem;
    }

    .achievement-content h4 {
        font-size: 1.2rem;
    }

    /* Social Grid Adjustments */
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-stats {
        grid-template-columns: 1fr;
    }
}

/* Featured Games Section */
.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.game-card.featured {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card.featured:hover {
    transform: translateY(-10px);
}

.game-card.featured .game-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-content {
    padding: 1.5rem;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.game-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.rank {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat {
    text-align: center;
}

.stat .label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat .value {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.view-profile {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.twitter:hover {
    color: #1DA1F2;
    border-color: #1DA1F2;
}

.social-icon.instagram:hover {
    color: #E4405F;
    border-color: #E4405F;
}

.social-icon.youtube:hover {
    color: #FF0000;
    border-color: #FF0000;
}

.social-icon.twitch:hover {
    color: #9146FF;
    border-color: #9146FF;
}

.social-icon.discord:hover {
    color: #7289DA;
    border-color: #7289DA;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .games-showcase {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Achievements Section Styles */
.achievements-section {
    padding: 4rem 2rem;
}

.achievements-timeline {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.achievement-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.achievement-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    white-space: nowrap;
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.achievement-content h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.achievement-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.prize {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* Responsive adjustments for achievements */
@media (max-width: 768px) {
    .achievement-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .achievement-date {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.5rem;
    }
}

/* Streaming Section Styles */
.streaming-section {
    padding: 4rem 2rem;
}

.stream-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.stream-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.live-indicator {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.stream-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.schedule h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.schedule-grid {
    display: grid;
    gap: 1rem;
}

.schedule-day {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.schedule-day:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.day {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 60px;
}

.time {
    color: rgba(255, 255, 255, 0.8);
}

.game {
    color: var(--secondary-color);
    font-weight: 600;
}

.stream-platforms {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.platform {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.platform.twitch {
    background: #9146FF;
}

.platform.youtube {
    background: #FF0000;
}

.platform:hover {
    transform: translateY(-5px);
    filter: brightness(1.2);
}

.platform i {
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .stream-container {
        grid-template-columns: 1fr;
    }

    .stream-preview {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .game-circle {
        width: 60px; /* Adjust size for smaller screens */
        height: 60px;
    }
}
