/* Base Styles & Theme */
:root {
    /* Colors - Dark Mode Theme */
    --primary-color: #f39c12;
    --secondary-color: #e74c3c;
    --text-color: #f5f5f5;
    --text-muted: #adb5bd;
    --bg-color: #121212;
    --bg-darker: #0a0a0a;
    --bg-lighter: #1e1e1e;
    --card-bg: #232323;
    --border-color: #333;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;

    /* Typography */
    --heading-font: 'Prompt', sans-serif;
    --body-font: 'Sarabun', sans-serif;

    /* Sizing & Spacing */
    --container-width: 1280px;
    --section-spacing: 4rem;
    --element-spacing: 1.5rem;
    --border-radius: 8px;
}

/* Reset & Base Elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--heading-font);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    gap: 8px;
    text-decoration: none;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: #ffb732;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #ff6b5b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Hero Section Styles */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(243, 156, 18, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        order: 1;
        text-align: center;
    }

    .hero-image {
        order: 0;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 50px 0;
    }

    .btn {
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.6rem;
    }

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

    .btn {
        width: 100%;
    }
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 10px 0;
    background-color: rgba(10, 10, 10, 0.98);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

.logo-text .highlight {
    color: var(--primary-color);
}

.main-nav {
    margin-left: auto;
    margin-right: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    align-items: center;
}

.header-cta {
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
}

.hamburger-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 1001;
    padding: 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--primary-color);
}

.mobile-nav {
    flex-grow: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-cta {
    margin-top: 30px;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header Responsive Styles */
@media (max-width: 1100px) {
    .nav-list {
        gap: 15px;
    }

    .nav-list a {
        font-size: 0.9rem;
    }

    .header-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .site-header {
        padding: 12px 0;
    }

    .mobile-menu {
        width: 85%;
    }
}

/* Add space for fixed header */
body {
    padding-top: 70px;
}

@media (max-width: 768px) {
    body {
        padding-top: 62px;
    }
}

/* About Section Styles */
.about-section {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 0 0 45%;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(231, 76, 60, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-text {
    flex: 0 0 55%;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-description p:last-of-type {
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style-type: none;
    margin: 1.5rem 0;
    padding-left: 0.5rem;
}

.benefits-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.about-cta {
    margin-top: 2rem;
}

/* Media Queries for About Section */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        flex: 0 0 100%;
        width: 100%;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text h2::after {
        margin: 0 auto;
        left: 0;
        right: 0;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-text h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .benefits-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 2.5rem 0;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .about-description p {
        font-size: 0.95rem;
    }

    .benefits-list {
        padding-left: 0;
    }
}

/* Security Section Styles */
.security-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(to bottom, var(--bg-color), var(--bg-darker));
    position: relative;
    overflow: hidden;
}

.security-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23333333' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.security-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.security-content {
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.security-text {
    flex: 0 0 58%;
}

.security-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.security-list {
    margin: 2rem 0;
    padding-left: 0;
    counter-reset: security-counter;
    list-style: none;
}

.security-list li {
    margin-bottom: 1rem;
    padding: 15px 20px;
    background-color: rgba(35, 35, 35, 0.7);
    border-radius: var(--border-radius);
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.security-list li:hover {
    transform: translateX(5px);
    background-color: rgba(243, 156, 18, 0.1);
}

.security-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #000;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.security-image {
    flex: 0 0 42%;
    position: relative;
}

.security-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(243, 156, 18, 0.2);
    width: 100%;
    z-index: 1;
    position: relative;
}

.security-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.badge {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.badge i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.badge span {
    font-weight: bold;
    font-size: 0.9rem;
}

.security-cta {
    margin-top: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Pulse animation for button */
.pulse-button {
    position: relative;
}

.pulse-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    z-index: -1;
    animation: pulse 2s infinite;
}

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

    70% {
        transform: scale(1.1);
        opacity: 0;
    }

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

/* Media Queries for Security Section */
@media (max-width: 992px) {
    .security-content {
        flex-direction: column-reverse;
    }

    .security-text,
    .security-image {
        flex: 0 0 100%;
        width: 100%;
    }

    .security-image {
        margin-bottom: 2rem;
    }

    .security-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .security-section {
        padding: 3rem 0;
    }

    .security-section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

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

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

    .badge span {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .security-section {
        padding: 2.5rem 0;
    }

    .security-section h2 {
        font-size: 1.4rem;
    }

    .security-text p {
        font-size: 0.95rem;
    }

    .security-list li {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .security-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .security-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .badge {
        padding: 10px;
    }

    .badge i {
        font-size: 1.3rem;
    }

    .badge span {
        font-size: 0.75rem;
    }
}

/* Login System Section Styles - REDESIGN */
.login-system-section {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-darker); /* Darker, cleaner background */
    position: relative;
    overflow: hidden;
}

.login-system-section::before { /* Replaces old ::before and ::after for this section */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--primary-color));
    opacity: 0.5;
    z-index: 0;
}

.login-system-section h2 {
    text-align: center;
    font-size: 2.2rem; /* Slightly larger */
    color: var(--primary-color);
    margin-bottom: 3.5rem; /* More space */
    position: relative;
    z-index: 1;
}

.login-system-content {
    display: flex;
    flex-direction: column; /* Stack devices and info vertically */
    align-items: center; /* Center items horizontally */
    gap: 2.5rem; /* Space between devices area and info area */
    position: relative;
    z-index: 1;
}

.login-system-devices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Gap between mobile and tablet */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    margin-bottom: 1.5rem; /* Added space below devices */
}

.device {
    background-color: #080808; /* Darker device color */
    border-radius: 18px; /* Slightly adjusted border radius */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); /* Softer, more modern shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Removed perspective and rotateY from previous design */
    position: relative; /* Ensure z-index works for hover */
    /* Removed explicit width/height here, will be set by specific device classes */
}

.device:hover {
    transform: translateY(-8px); /* Simpler hover effect */
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.2); /* Using primary color for glow */
}

.device-frame {
    border-radius: 16px; /* Match outer radius, slightly smaller */
    overflow: hidden;
    border: 2px solid #222; /* Thinner, darker border */
    background-color: #000;
    height: 100%; /* Ensure frame takes full height of device */
    display: flex; /* To help center image if needed, though img display block should handle it */
}

.device-screen {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 6px; /* Inner padding for screen effect */
    box-sizing: border-box;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the screen area */
    display: block;
    border-radius: 10px; /* Inner screen radius */
}

.device-mobile {
    width: 170px; /* Adjusted size */
    height: 340px;
    /* Removed position: absolute */
}

.device-tablet {
    width: 280px; /* Adjusted size */
    height: 390px;
     /* Removed position: absolute */
}

.login-system-info {
    flex-basis: 100%; /* Take full width in the column flow */
    max-width: 750px; /* Control text readability */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the card and buttons */
}

.info-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-top: 4px solid var(--primary-color); /* Accent border */
    width: 100%;
}

.info-card p {
    margin-bottom: 1.2rem;
    line-height: 1.75;
    color: var(--text-muted);
}
.info-card p strong {
    color: var(--primary-color);
}

.feature-list {
    margin: 2rem 0;
    padding: 20px;
    background-color: rgba(243, 156, 18, 0.05); /* Subtle bg using primary color */
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.feature-list h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

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

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--success-color);
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.login-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2.5rem;
    width: 100%;
    justify-content: center;
}

.login-buttons .btn {
    flex-grow: 1;
    max-width: 250px;
    padding-top: 14px; /* Increased padding for better look */
    padding-bottom: 14px;
}

/* Responsive adjustments for the new Login System design */
@media (max-width: 992px) {
    .login-system-section h2 {
        font-size: 2rem; /* Adjusted for consistency */
    }
     .login-system-devices {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .login-system-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .login-system-devices {
        flex-direction: column; /* Stack devices on smaller screens */
        align-items: center;
        gap: 2rem; /* Ensure enough gap when stacked */
    }

    .device-mobile {
        width: 150px;
        height: 300px;
    }

    .device-tablet {
        width: 250px; /* Or make it similar to mobile width if preferred when stacked */
        height: 350px;
    }
    
    .info-card {
        padding: 25px;
    }

    .feature-list {
        padding: 15px;
    }
    
    .login-buttons {
        flex-direction: column;
        align-items: center;
    }
    .login-buttons .btn {
        width: 100%; 
        max-width: 320px; /* Allow buttons to be a bit wider on mobile */
    }
}

@media (max-width: 576px) {
    .login-system-section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    .login-system-content {
        gap: 2rem;
    }

    .device-mobile {
        width: 140px; /* Further reduce size */
        height: 280px;
    }

    .device-tablet {
        width: 220px; /* Further reduce size */
        height: 320px;
    }
    
    .info-card {
        padding: 20px;
    }
    .info-card p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    .feature-list h3 {
        font-size: 1.15rem; /* Adjusted */
    }
    .feature-list li {
        font-size: 0.9rem;
    }
    .login-buttons .btn {
        font-size: 0.95rem;
    }
}

/* Game Selection Section Styles */
.game-section {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f39c12' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.section-header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Game Categories Styles */
.game-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.game-category {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.game-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.category-icon i {
    font-size: 2rem;
    color: #000;
}

.game-category h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.game-category p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-muted);
}

.game-features {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.game-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

.game-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.btn-outline i {
    transition: transform 0.3s ease;
}

.btn-outline:hover i {
    transform: translateX(5px);
}

/* Game Promotions Styles */
.game-promotions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.promotion-card {
    background-color: rgba(35, 35, 35, 0.7);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.promotion-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.promotion-icon i {
    font-size: 1.5rem;
    color: #000;
}

.promotion-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.promotion-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Game CTA Styles */
.game-cta {
    text-align: center;
    padding: 40px;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
}

.game-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.game-link {
    display: block;
    margin-top: 15px;
    color: var(--text-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.game-link:hover {
    color: var(--primary-color);
}

.game-link i {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Media Queries for Game Section */
@media (max-width: 1200px) {

    .game-categories,
    .game-promotions {
        gap: 20px;
    }

    .game-category {
        padding: 25px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 1.8rem;
    }
}

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

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .game-category h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .game-section {
        padding: 3rem 0;
    }

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

    .game-category {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .game-cta {
        padding: 30px 20px;
    }

    .game-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .game-section {
        padding: 2.5rem 0;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .game-category {
        padding: 20px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .category-icon i {
        font-size: 1.5rem;
    }

    .game-category h3 {
        font-size: 1.2rem;
    }

    .game-category p,
    .promotion-content p {
        font-size: 0.9rem;
    }

    .game-features li {
        font-size: 0.9rem;
    }

    .promotion-card {
        padding: 20px;
    }

    .promotion-icon {
        width: 40px;
        height: 40px;
    }

    .promotion-icon i {
        font-size: 1.2rem;
    }

    .promotion-content h3 {
        font-size: 1.1rem;
    }

    .game-cta p {
        font-size: 1rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
    }
}

/* Wallet Section Styles */
.wallet-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(to bottom, var(--bg-darker), var(--bg-color));
    position: relative;
    overflow: hidden;
}

.wallet-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f39c12' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 20.83l2.83-2.83 1.41 1.41L1.41 22H0v-1.17zM0 3.07l2.83-2.83 1.41 1.41L1.41 4.24H0V3.07zm20 0l2.83-2.83 1.41 1.41L21.41 4.24h-1.17V3.07zm0 17.76l2.83-2.83 1.41 1.41-2.83 2.83h-1.17v-1.41zM20 38.59l2.83-2.83 1.41 1.41L21.41 40h-1.17v-1.41zM37.17 0l2.83 2.83-1.41 1.41L35.76 1.41V0h1.41zm0 17.76l2.83 2.83-1.41 1.41-2.83-2.83V17.76h1.41zm0 17.76l2.83 2.83-1.41 1.41-2.83-2.83V35.52h1.41zM20 0l2.83 2.83-1.41 1.41L18.59 1.41V0h1.41zM0 17.76l2.83 2.83-1.41 1.41L0 20.17V17.76zm0 17.76l2.83 2.83-1.41 1.41L0 37.93v-2.34zM17.17 0l2.83 2.83-1.41 1.41-2.83-2.83V0h1.41z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.wallet-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.wallet-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.wallet-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.wallet-content {
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.wallet-text {
    flex: 0 0 55%;
}

.wallet-description p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.wallet-benefits {
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--primary-color);
}

.wallet-benefits h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.wallet-benefits ul {
    list-style-type: none;
    padding-left: 0;
}

.wallet-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.wallet-benefits li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.wallet-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.wallet-support {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(35, 35, 35, 0.6);
    border-radius: var(--border-radius);
    padding: 15px 20px;
}

.wallet-support p {
    margin: 0;
    font-size: 0.95rem;
}

.support-contacts {
    display: flex;
    gap: 10px;
}

.support-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-lighter);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.support-icon:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.support-icon i {
    font-size: 1.2rem;
}

/* Wallet Visual Styles */
.wallet-visual {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wallet-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.wallet-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.card-header {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-header i {
    color: var(--primary-color);
}

.card-time,
.card-min {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-value,
.min-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.time-unit,
.min-unit {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.check-icon {
    font-size: 3.5rem;
    color: var(--success-color);
}

.card-footer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
}

.banks-supported {
    background-color: rgba(35, 35, 35, 0.6);
    border-radius: var(--border-radius);
    padding: 20px;
}

.banks-title {
    text-align: center;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.bank-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.bank-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    background-color: rgba(35, 35, 35, 0.8);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.bank-logo:hover {
    transform: translateY(-3px);
    background-color: rgba(243, 156, 18, 0.1);
}

.bank-logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.bank-logo span {
    font-size: 0.8rem;
}

.true-wallet i {
    color: #f44336;
    /* TrueMoney red */
}

/* Media Queries for Wallet Section */
@media (max-width: 1200px) {
    .wallet-content {
        gap: 30px;
    }

    .wallet-cards {
        gap: 15px;
    }

    .wallet-card {
        min-height: 160px;
        padding: 15px;
    }

    .time-value,
    .min-value {
        font-size: 2.5rem;
    }

    .check-icon {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .wallet-content {
        flex-direction: column;
    }

    .wallet-text,
    .wallet-visual {
        flex: 0 0 100%;
        width: 100%;
    }

    .wallet-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .wallet-section {
        padding: 3rem 0;
    }

    .wallet-header h2 {
        font-size: 1.6rem;
    }

    .wallet-header h2::after {
        width: 80px;
    }

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

    .wallet-benefits {
        padding: 15px;
    }

    .wallet-benefits h3 {
        font-size: 1.1rem;
    }

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

    .wallet-buttons .btn {
        width: 100%;
    }

    .bank-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .bank-logo {
        padding: 10px;
    }

    .bank-logo i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .wallet-section {
        padding: 2.5rem 0;
    }

    .wallet-header h2 {
        font-size: 1.4rem;
    }

    .wallet-description p {
        font-size: 0.95rem;
    }

    .wallet-benefits li {
        font-size: 0.9rem;
    }

    .wallet-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }

    .wallet-card {
        min-height: auto;
        padding: 15px 10px;
    }

    .wallet-support {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .time-value,
    .min-value {
        font-size: 2.2rem;
    }

    .check-icon {
        font-size: 2.5rem;
    }

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

/* Footer Styles */
.footer {
    background-color: var(--bg-darker);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 0 0 260px;
}

.footer-logo a {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo-text .highlight {
    color: var(--primary-color);
}

.tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-links-column h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column li {
    margin-bottom: 12px;
}

.footer-links-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-policies a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: var(--primary-color);
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Media Queries for Footer */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-logo {
        flex: 0 0 100%;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-links-column {
        flex: 0 0 calc(50% - 15px);
        min-width: 180px;
    }

    .footer-links-column h4::after {
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        margin-bottom: 30px;
        gap: 30px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-links-column h4 {
        font-size: 1rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .footer-links-column li {
        margin-bottom: 10px;
        text-align: center;
    }

    .footer-links-column a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 20px;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links-column {
        flex: 0 0 100%;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .footer-policies {
        flex-direction: column;
        gap: 10px;
    }

    .copyright,
    .footer-policies a,
    .disclaimer {
        font-size: 0.85rem;
    }
}

/* Sticky Bottom Buttons */
.sticky-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 10px 15px;
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--border-color);
}

.sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    margin: 0 5px;
}

.sticky-btn i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.login-btn {
    background-color: var(--bg-lighter);
    border: 1px solid var(--primary-color);
}

.login-btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

.register-btn {
    background-color: var(--primary-color);
    color: #000;
}

.register-btn:hover {
    background-color: #ffb732;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.bonus-btn {
    background-color: var(--secondary-color);
    color: #fff;
}

.bonus-btn:hover {
    background-color: #ff6b5b;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Media Queries for Sticky Buttons */
@media (max-width: 576px) {
    .sticky-btn {
        padding: 8px 5px;
        font-size: 0.75rem;
    }

    .sticky-btn i {
        font-size: 1rem;
        margin-bottom: 3px;
    }
}

@media (max-width: 360px) {
    .sticky-buttons {
        padding: 8px 10px;
    }

    .sticky-btn {
        margin: 0 3px;
    }

    .sticky-btn span {
        font-size: 0.7rem;
    }
}