/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b6b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b6b;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4ecdc4;
    border-color: #4ecdc4;
}

.btn-secondary:hover {
    background: #4ecdc4;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Game Section */
.game-section {
    padding: 80px 0;
    background: #111;
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.game-description {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.game-container {
    display: block;
    margin-bottom: 3rem;
}

.game-embed {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #333;
    position: relative;
    overflow: hidden;
}



/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 900px;
    border-radius: 10px;
    overflow: hidden;
    pointer-events: auto;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 10px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top: 4px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: #4ecdc4;
    font-size: 1.1rem;
    margin: 0;
}

.game-embed iframe {
    width: 100%;
    height: 900px;
    border: none;
    display: block;
    border-radius: 10px;
    pointer-events: auto;
    user-select: none;
}



/* Videos Section */
.videos-section {
    padding: 40px 0;
    background: #0a0a0a;
}

.videos-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff6b6b;
}

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

.video-item {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.video-item h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.video-embed {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.video-embed iframe {
    width: 100%;
    height: 225px;
    border: none;
}

.video-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Blog Preview Section */
.blog-preview {
    padding: 80px 0;
    background: #111;
}

.blog-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ff6b6b;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.2);
}

.blog-card h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ee5a52;
}

.blog-cta {
    text-align: center;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 2px solid #333;
}

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

.footer-section h3,
.footer-section h4 {
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b6b;
}

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

.social-link {
    color: #4ecdc4;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #4ecdc4;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4ecdc4;
    color: #0a0a0a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .game-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-section,
    .videos-section,
    .blog-preview {
        padding: 60px 0;
    }
    
    .game-embed iframe {
        height: 400px;
    }
}

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

.hero-content,
.game-section,
.videos-section,
.blog-preview {
    animation: fadeInUp 0.8s ease-out;
}

/* Page-specific Styles */
.main-content {
    margin-top: 80px;
}

.page-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #4ecdc4;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
    background: #111;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-main {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #333;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-section h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #ccc;
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: #4ecdc4;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #333;
}

.sidebar-card h3 {
    color: #4ecdc4;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    color: #ccc;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.info-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.developer-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.developer-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ff6b6b;
}

.developer-info {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #333;
}

.developer-text h3 {
    color: #4ecdc4;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.developer-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Blog Page Styles */
.blog-content {
    padding: 80px 0;
    background: #111;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 40px;
    border: 2px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.blog-post.featured {
    border-color: #ff6b6b;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.post-header h2 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.post-date {
    color: #4ecdc4;
}

.post-category {
    color: #ccc;
    background: #333;
    padding: 4px 12px;
    border-radius: 20px;
}

.post-content h3 {
    color: #4ecdc4;
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.post-content p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-image {
    margin: 1.5rem 0;
    text-align: center;
}

.blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recent-posts,
.categories {
    list-style: none;
    padding: 0;
}

.recent-posts li,
.categories li {
    margin-bottom: 0.8rem;
}

.recent-posts a,
.categories a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts a:hover,
.categories a:hover {
    color: #ff6b6b;
}

/* Videos Page Styles */
.videos-content {
    padding: 80px 0;
    background: #111;
}

.video-category {
    margin-bottom: 4rem;
}

.video-category h2 {
    color: #ff6b6b;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.video-info {
    margin-top: 1rem;
}

.video-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #4ecdc4;
}

.video-nav {
    padding: 60px 0;
    background: #0a0a0a;
}

.video-nav h2 {
    text-align: center;
    color: #ff6b6b;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-link {
    color: #4ecdc4;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #4ecdc4;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #4ecdc4;
    color: #0a0a0a;
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
    background: #111;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-intro h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-intro p {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-form-container {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #0a0a0a;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item h4 {
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #ccc;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item h4 {
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

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

.quick-links li {
    margin-bottom: 0.8rem;
}

.quick-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #ff6b6b;
}


/* Legal Pages Styles */
.legal-content {
    padding: 80px 0;
    background: #111;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #333;
}

.legal-text h2 {
    color: #ff6b6b;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.legal-text h3 {
    color: #4ecdc4;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.legal-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-text ul {
    color: #ccc;
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .content-grid,
    .blog-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-main,
    .blog-post,
    .contact-form-container,
    .legal-text {
        padding: 30px 20px;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    
    
    .iframe-container {
        height: 500px;
    }
    
    .game-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-content,
    .blog-content,
    .videos-content,
    .contact-content,
    .legal-content {
        padding: 60px 0;
    }
    
    .content-main,
    .blog-post,
    .contact-form-container,
    .legal-text {
        padding: 20px 15px;
    }
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4ecdc4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b6b;
}
