/* style.css */

/* 1. Global Styles & CSS Variables
-------------------------------------------------- */
:root {
    --primary-color: #FFC107;
    --primary-hover: #FFA000;
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --text-color: #E0E0E0;
    --text-muted: #A0A0A0;
    --border-color: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Buttons & Utility Classes
-------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #121212;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #121212;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #121212;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* 3. Header
-------------------------------------------------- */
.site-header {
    background-color: var(--surface-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 150px;
    height: 80px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    margin-left: 1.5rem;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* 4. Hero Section & Main Content
-------------------------------------------------- */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(90deg, var(--surface-color) 0%, var(--background-color) 100%);
    overflow: hidden;
    
}

.hero-container-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex-basis: 50%;
    text-align: left;
}

.hero-title {
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-image-column {
    flex-basis: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-column img {
    max-width: 100%;
    animation: float-animation 6s ease-in-out infinite;
    
}

@keyframes float-animation {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.content-block ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.content-block ul i {
    color: var(--primary-color);
}

/* 5. Game Showcase Section
-------------------------------------------------- */
.game-showcase-section {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 3rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
    transform: translateY(0);
}

.game-overlay h4 {
    margin: 0;
}

.game-overlay .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* 6. Trust & Security Section
-------------------------------------------------- */
.trust-section {
    padding: 4rem 0;
    background-color: var(--surface-color);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.trust-logos img {
    height: 40px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.trust-logos img:hover {
    opacity: 1;
    filter: none;
}

/* 7. Footer
-------------------------------------------------- */
.site-footer {
    background-color: var(--surface-color);
    padding: 3rem 0 1.5rem 0;
    border-top: 2px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--text-muted);
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--text-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    color: var(--text-color);
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    padding: 10px 15px;
    border: none;
    background-color: var(--primary-color);
    color: #121212;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons a {
    color: var(--text-muted);
    margin-left: 1rem;
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* 8. Responsive Media Queries
-------------------------------------------------- */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100%;
        background-color: var(--surface-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1rem;
        transition: right 0.4s ease-in-out;
    }

    .main-nav.nav-open {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav a::after {
        display: none;
    }

    .header-actions {
        flex-direction: column;
        gap: 1rem;
        margin-left: 0;
        margin-top: 2rem;
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
        text-align: center;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-container-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-image-column {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}