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

body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1D2B;
    color: #ffffff;
    line-height: 1.6;
}

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

.text-content {
    padding: 30px 15px;
}

.text-content p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.8;
}

.text-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.text-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
.text-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
.text-content ul li {
    margin-bottom: 10px;    
}
.text-content ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}
.text-content ol li {
    margin-bottom: 10px;
}
/* Header Styles */
.header {
    background-color: #1A1D2B;
    border-bottom: 1px solid #2A2F42;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-btn {
    background-color: #4A9EFF;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    display: none;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

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

.nav-link:hover {
    color: #4A9EFF;
}
.nav-link.active {
    color: #4A9EFF;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: none;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #2A2F42;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #FFD700;
    color: #1A1D2B;
}

.btn-primary:hover {
    background-color: #FFED4E;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1A1D2B;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1A1D2B 0%, #2A2F42 100%);
    padding: 50px 0;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-text {
    max-width: 500px;
    position: relative;
}

/* Slide Content Styles */
.slide-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    min-height: 350px;
}

.single-page {
    padding-top: 100px;
}

@media (max-width: 768px) {
    .slide-content {
        min-height: 250px;
    }
    .single-page {
        padding-top: 150px;
    }
}

.slide-content.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
}

.tag {
    background-color: #4A9EFF;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

p.slider-subtitle {
    font-size: 24px !important;
    color: #4A9EFF !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

p.slider-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
}

.slide-content p {
    font-size: 18px;
    color: #B8B9C3;
    margin-bottom: 30px;
}

/* Slide Image Styles */
.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s ease;
}

.slide-image.active {
    opacity: 1;
    transform: scale(1);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.slider-btn:hover {
    background-color: rgba(74, 158, 255, 0.8);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Hero Dots Navigation */
.hero-dots {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4A4A4A;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    background-color: #4A9EFF;
    transform: scale(1.2);
}

.dot.active {
    background-color: #4A9EFF;
    transform: scale(1.2);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #4A9EFF;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Slide Transition Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .slider-controls {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        gap: 20px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-image {
        height: 300px;
    }

    .hero {
        padding: 75px 0;
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 250px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

}

/* Search Section */
.search-section {
    padding: 40px 0;
    background-color: #1A1D2B;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #B8B9C3;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background-color: #2A2F42;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
}

.search-input::placeholder {
    color: #B8B9C3;
}

/* Categories Section */
.categories {
    background-color: #1A1D2B;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: #2A2F42;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-card i {
    font-size: 32px;
    color: #4A9EFF;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-count {
    font-size: 14px;
    color: #B8B9C3;
}

/* Games Section */
.games-section {
    background-color: #1A1D2B;
    padding-bottom:30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header p {
    font-size: 32px;
    font-weight: 700;
}

.show-all {
    color: #4A9EFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.show-all:hover {
    color: #FFD700;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: #2A2F42;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 267px;
    overflow: hidden;
}

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

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 20px;
}

.game-info p.game-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.game-info p {
    color: #B8B9C3;
    font-size: 14px;
}

/* Content Section */
.content-section {
    background-color: #2A2F42;
}

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

.content-card {
    background-color: #1A1D2B;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.content-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD700;
}

.content-card p {
    font-size: 16px;
    color: #B8B9C3;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: #1A1D2B;
    padding: 30px 0 20px;
    border-top: 1px solid #2A2F42;
}

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

.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD700;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

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

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2A2F42;
    color: #B8B9C3;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #4A9EFF;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2A2F42;
}

.footer-bottom p {
    color: #B8B9C3;
    font-size: 14px;
}
.text-content-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        align-items: normal;
    }

    .header-left {
        gap: 15px;
        justify-content: space-between;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text p.slider-title {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-card {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .hero {
        padding: 100px 0 60px;
    }


    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

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

    .games-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        gap: 15px;
        text-align: center;
    }
}

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

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

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

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #4A9EFF;
    outline-offset: 2px;
}

/* Loading animation for images */
.game-image img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hover effects for interactive elements */
.category-card,
.game-card,
.content-card {
    position: relative;
    overflow: hidden;
}

.category-card::before,
.game-card::before,
.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before,
.game-card:hover::before,
.content-card:hover::before {
    left: 100%;
}

/* Mobile Menu Styles */
.nav-menu.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1A1D2B;
    padding: 20px;
    border-top: 1px solid #2A2F42;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.menu-btn.active {
    background-color: #FFD700;
    color: #1A1D2B;
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Header Transition */
.header {
    transition: transform 0.3s ease;
}

/* Error States */
.error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
}

/* Enhanced Slider Transitions */
.slide-content {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-image {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading i {
    margin-right: 8px;
}

/* Mobile Menu Display */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .hero-dots {
        display: none;
    }
}

/* Simple Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #2A2F42;
    border-radius: 8px;
    margin: 20px 0;
    font-family: 'Inter', sans-serif;
}

/* Table Header */
table thead th,
table tbody tr:first-child td {
    background-color: #4A9EFF;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 15px 12px;
    text-align: center;
    border: none;
}

table thead th:first-child,
table tbody tr:first-child td:first-child {
    text-align: left;
}

/* Table Body */
table tbody tr:not(:first-child) {
    background-color: #1A1D2B;
}

table tbody tr:not(:first-child):hover {
    background-color: #2A2F42;
}

/* Table Cells */
table tbody td {
    padding: 12px;
    text-align: center;
    color: #B8B9C3;
    font-size: 14px;
    border-bottom: 1px solid #2A2F42;
}

table tbody td:first-child {
    text-align: left;
    color: #ffffff;
    font-weight: 500;
}
table p {
    margin-bottom:0!important;
}

/* Amount styling */
table tbody td:nth-child(2),
table tbody td:nth-child(3) {
    color: #FFD700;
    font-weight: 500;
}

/* Time styling */
table tbody td:nth-child(4) {
    color: #4A9EFF;
}
.table-container {
    overflow-x: auto;
}

/* Responsive */
@media (max-width: 768px) {
    table {
        font-size: 13px;
    }
    
    table thead th,
    table tbody tr:first-child td,
    table tbody td {
        padding: 10px 8px;
    }
}