/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #1f1f1f;
    color: #ffffff;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background: #191919;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(180deg,#fffad5 0,#ffeb00 37%,#ccaf11 76%,#fffad5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ffeb00;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(180deg,#fffad5 0,#ffeb00 37%,#ccaf11 76%,#fffad5);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background: linear-gradient(180deg,#d8d8d8,#5a5a5a 51%,#c3c3c3);
    color: #fff !important;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,235,0,0.3);
}

.btn-primary {
    background: linear-gradient(180deg,#fffad5 0,#ffeb00 37%,#ccaf11 76%,#fffad5);
    color: #1f1f1f !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,235,0,0.5);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31,31,31,0.7);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg,#fffad5 0,#ffeb00 37%,#ccaf11 76%,#fffad5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(180deg,#fffad5 0,#ffeb00 37%,#ccaf11 76%,#fffad5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffeb00;
}

.section p {
    margin-bottom: 1rem;
    color: #cccccc;
    font-size: 1.1rem;
}

.section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.section li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.game-card {
    background: #191919;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,235,0,0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card-content {
    padding: 1.5rem;
}

.game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffeb00;
}

.game-card p {
    color: #cccccc;
    margin-bottom: 1rem;
}

/* Feature Table */
.feature-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #191919;
    border-radius: 10px;
    overflow: hidden;
}

.feature-table th,
.feature-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.feature-table th {
    background: #ffeb00;
    color: #1f1f1f;
    font-weight: bold;
}

.feature-table tr:hover {
    background: #2a2a2a;
}

/* Table wrapper for mobile scrolling */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: 10px;
    background: #191919;
}

.table-wrapper table {
    min-width: 600px;
    margin: 0;
}

/* FAQ Section */
.faq-item {
    background: #191919;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: #2a2a2a;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: #ffeb00;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #333;
}

.faq-answer {
    padding: 1.5rem;
    color: #cccccc;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Footer */
.footer {
    background: #191919;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffeb00;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width:1280px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #191919;
    }
        
    nav.active {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

ol li,
ul li {
    list-style: none;
}

@media (max-width: 768px) {
    
    .logo img{
        height: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section h3 {
        font-size: 1.5rem;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    /* Table scrolling for mobile */
    .table-wrapper {
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    .table-wrapper table {
        min-width: 500px;
        font-size: 0.9rem;
    }
    
    .table-wrapper th,
    .table-wrapper td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    .feature-table {
        font-size: 0.9rem;
    }
    
    .feature-table th,
    .feature-table td {
        padding: 0.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 475px) {
    .header-buttons{
        width: 100%;
        justify-content: center;
        order: 3;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .mobile-menu-toggle {
        order: 2;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.highlight {
    color: #ffeb00;
    font-weight: bold;
}

.link {
    color: #ffeb00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: #fffad5;
}

/* External Link Styles */
.external-link {
    color: #ffeb00;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.external-link:hover {
    color: #fffad5;
}