/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 25, 35, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo-text {
    font-family: 'Prompt', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.logo-highlight {
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.toggle-bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 60%;
}

.header-buttons {
    display: flex;
    margin-left: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    gap: 6px;
}

.login-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.register-btn {
    background: var(--button-gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(231, 57, 70, 0.3);
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(231, 57, 70, 0.5);
}

/* Footer Styles */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--text-gray);
    position: relative;
    z-index: 10;
}

.footer-top {
    padding: 70px 20px 40px;
    background-color: rgba(15, 25, 35, 0.95);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget .footer-logo {
    margin-bottom: 20px;
}

.footer-about {
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.widget-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--accent-gold);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent-gold);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-payment-methods {
    background-color: rgba(25, 35, 45, 0.5);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.payment-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 calc(25% - 15px);
    min-width: 100px;
    background-color: rgba(15, 25, 35, 0.7);
    padding: 15px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    transform: translateY(-5px);
    background-color: rgba(15, 25, 35, 0.9);
}

.payment-icon i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.payment-icon span {
    font-size: 0.9rem;
    color: white;
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(10, 20, 30, 0.95);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-policy-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-policy-links a:hover {
    color: white;
}

.footer-disclaimer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* Sticky Buttons */
.sticky-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 25, 35, 0.95);
    display: flex;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sticky-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-button:last-child {
    border-right: none;
}

.sticky-button i {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.sticky-button span {
    font-size: 0.8rem;
    font-weight: 600;
}

.login-sticky {
    color: white;
    background-color: var(--primary-dark);
}

.login-sticky:hover {
    background-color: rgba(25, 35, 45, 1);
}

.register-sticky {
    color: white;
    background-color: var(--accent-red);
}

.register-sticky:hover {
    background-color: #d93141;
}

.bonus-sticky {
    color: var(--primary-dark);
    background-color: var(--accent-gold);
}

.bonus-sticky:hover {
    background-color: #e6c200;
}

/* Media Queries for Responsiveness */
@media (max-width: 1150px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--secondary-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.4s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }

    .main-navigation.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .header-buttons {
        margin: 30px 0 0;
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }

    .login-btn {
        margin-right: 0;
    }

    /* Toggle Animation */
    .mobile-menu-toggle.active .toggle-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active .toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .toggle-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 12px 20px;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .nav-link {
        padding: 10px 12px;
    }

    .btn {
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .header-container {
        padding: 10px 20px;
    }

    /* Footer Adjustments */
    .footer-top {
        padding: 50px 20px 30px;
    }

    .footer-widgets {
        gap: 30px;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-policy-links {
        justify-content: center;
    }

    /* Sticky Buttons Adjustments */
    .sticky-buttons {
        padding-bottom: env(safe-area-inset-bottom, 0);
        /* For iPhone X and newer */
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 15px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .footer-top {
        padding: 40px 15px 20px;
    }

    .payment-icons {
        gap: 10px;
    }

    .payment-icon {
        flex: 0 0 calc(50% - 5px);
        min-width: 0;
    }

    .sticky-button i {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .sticky-button span {
        font-size: 0.7rem;
    }

    .sticky-button {
        padding: 10px 5px;
    }
}

/* Add these to style.css */
.site-header {
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(10, 20, 30, 0.95);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section Styles */
:root {
    /* Dark Theme Color Palette */
    --primary-dark: #0F1923;
    --secondary-dark: #1A242F;
    --accent-gold: #FFD700;
    --accent-red: #E63946;
    --text-light: #F8F9FA;
    --text-gray: #ADB5BD;
    --gradient-dark: linear-gradient(135deg, #0F1923 0%, #1A242F 100%);
    --card-bg: rgba(26, 36, 47, 0.8);
    --button-gradient: linear-gradient(135deg, #E63946 0%, #F72585 100%);
}

body {
    font-family: 'Sarabun', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Prompt', sans-serif;
    color: var(--text-light);
    line-height: 1.3;
}

.hero-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 80px 20px 40px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta .cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--button-gradient);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 57, 70, 0.4);
    border: none;
    cursor: pointer;
}

.hero-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 57, 70, 0.6);
}

.hero-cta .cta-button i {
    margin-right: 10px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.main-hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.main-hero-image:hover {
    transform: translateY(-10px);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-item {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.floating-dice {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card {
    bottom: 20%;
    left: 5%;
    animation-delay: 1.5s;
}

.floating-coins {
    top: 50%;
    right: 5%;
    animation-delay: 3s;
}

.floating-trophy {
    bottom: 10%;
    right: 20%;
    animation-delay: 4.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(15, 25, 35, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(15, 25, 35, 0.8);
}

.feature-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.feature-item span {
    color: var(--text-light);
    font-weight: bold;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content,
    .hero-image {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .feature-item {
        flex: 1 1 calc(50% - 20px);
        min-width: 160px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px 30px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .feature-item {
        flex: 1 1 100%;
    }
}

/* Features Section Styles */
.features-section {
    background-color: var(--secondary-dark);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    background: linear-gradient(135deg, var(--accent-red) 0%, #7209B7 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.feature-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.feature-button:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.feature-button i {
    transition: transform 0.3s ease;
}

.feature-button:hover i {
    transform: translateX(5px);
}

.promo-banner {
    background: linear-gradient(135deg, #7209B7 0%, var(--accent-red) 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('images/0051_1_a-photo-of-a-very-sexy-asian-woman-with-_F-65Wi_aQAyx7Ow1_madhg_GWRAiFBzS5mDfyU1s3wyxA.webp') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.promo-text h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.promo-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.promo-button {
    background-color: white;
    color: var(--accent-red);
    font-weight: bold;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.promo-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Football decoration */
.football-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ball {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, white 0%, var(--accent-gold) 100%);
    border-radius: 50%;
    opacity: 0.1;
}

.ball-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 5%;
    animation: floatBall 15s ease-in-out infinite;
}

.ball-2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 7%;
    animation: floatBall 12s ease-in-out infinite 2s;
}

.ball-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation: floatBall 10s ease-in-out infinite 4s;
}

@keyframes floatBall {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(0, -15px) rotate(180deg);
    }

    75% {
        transform: translate(-20px, -30px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .promo-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .promo-text {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-subheading {
        font-size: 1rem;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .promo-text h3 {
        font-size: 1.5rem;
    }

    .promo-content {
        padding: 25px 20px;
    }
}

/* Games Section Styles */
.games-section {
    background-color: var(--primary-dark);
    padding: 80px 20px;
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    z-index: 1;
}

.games-section .section-container {
    position: relative;
    z-index: 2;
}

.games-category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    perspective: 1000px;
}

.category-tab {
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-gray);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-tab i {
    font-size: 1.1rem;
}

.category-tab:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-3px);
}

.category-tab.active {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.games-showcase {
    margin-bottom: 50px;
}

.game-card.featured {
    background: linear-gradient(135deg, #1A242F 0%, #131E29 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card.featured:hover .game-image img {
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-red);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-info {
    flex: 0 0 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.game-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.jackpot-amount {
    color: var(--accent-gold);
    font-weight: bold;
}

.rtp-rate {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.game-info p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.game-action {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.play-button,
.demo-button {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.play-button {
    background: var(--button-gradient);
    color: white;
}

.demo-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 57, 70, 0.4);
}

.demo-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.game-card {
    background-color: rgba(26, 36, 47, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.game-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-thumb img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-now {
    width: 60px;
    height: 60px;
    background-color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.game-card:hover .play-now {
    transform: scale(1);
}

.game-thumb .game-badge {
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 3px 8px;
}

.game-badge.hot {
    background-color: var(--accent-red);
}

.game-badge.new {
    background-color: #4CAF50;
}

.game-badge.bonus {
    background-color: #9C27B0;
}

.game-details {
    padding: 15px;
}

.game-details h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-provider {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.winrate {
    color: var(--accent-gold);
}

.view-more-container {
    text-align: center;
    margin-top: 30px;
}

.view-more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-button:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.jackpot-ticker {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.jackpot-label {
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jackpot-label i {
    color: var(--accent-gold);
}

.jackpot-amount {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Prompt', sans-serif;
}

.jackpot-info {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .game-card.featured {
        flex-direction: column;
    }

    .game-image,
    .game-info {
        flex: 0 0 100%;
    }

    .game-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .games-section {
        padding: 60px 20px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .category-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .games-section .section-header h2 {
        font-size: 1.6rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr 1fr;
    }

    .game-details h4 {
        font-size: 1rem;
    }

    .category-tab {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .game-action {
        flex-direction: column;
    }

    .play-button,
    .demo-button {
        width: 100%;
        justify-content: center;
    }

    .jackpot-ticker {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
}

/* Promotions Section Styles */
.promotions-section {
    background-color: var(--secondary-dark);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.promo-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.promo-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red) 0%, rgba(114, 9, 183, 0.3) 100%);
    filter: blur(80px);
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -50px;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    right: 15%;
}

/* New Grid for Promo Items */
.promo-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* General Promo Card Styles (applied to all cards including featured) */
.promo-card {
    background-color: rgba(25, 35, 45, 0.6);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; /* Use flex for internal layout */
    flex-direction: column; /* Stack header, body/content */
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Header for Standard Promo Cards */
.promo-card:not(.featured-promo) .promo-card-header {
    background: linear-gradient(135deg, var(--accent-red) 0%, #7209B7 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.promo-card:not(.featured-promo) .promo-card-header i {
    font-size: 2rem;
    color: white;
}

.promo-card:not(.featured-promo) .promo-card-header h4 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
}

/* Body for Standard Promo Cards */
.promo-card:not(.featured-promo) .promo-card-body {
    padding: 20px;
    flex-grow: 1; /* Allows the body to fill available space */
    display: flex;
    flex-direction: column;
}

.promo-card:not(.featured-promo) .promo-card-body p {
    color: var(--text-gray);
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to the bottom */
    line-height: 1.5;
}

/* Featured Promo Card Specific Styles */
.promo-card.featured-promo {
    grid-column: span 2; /* Make it span 2 columns on wider screens */
    flex-direction: row; /* Arrange content and image side-by-side */
    background: linear-gradient(135deg, rgba(25, 35, 45, 0.9) 0%, rgba(15, 25, 35, 0.9) 100%);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    /* Ensure consistent border */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header for Featured Promo */
.featured-promo .promo-card-header {
    position: absolute; /* Position label relative to the card */
    top: 20px;
    left: 20px;
    background: none; /* Remove gradient */
    padding: 0;
    z-index: 3; /* Above image/content */
}

.promo-label { /* Style for the "โปรโมชั่นสุดฮอต" label */
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Content Area for Featured Promo */
.featured-promo .promo-card-content {
    flex: 0 0 60%; /* Take 60% width */
    padding: 40px;
    padding-top: 70px; /* Adjust padding to account for absolute positioned header */
    position: relative;
    z-index: 2;
}

.featured-promo .promo-card-content h3 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.featured-promo .promo-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.promo-features li {
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.promo-features li i {
    color: var(--accent-gold);
    margin-right: 10px;
    font-size: 1.1rem;
}

.promo-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--button-gradient);
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 57, 70, 0.3);
}

.promo-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(231, 57, 70, 0.5);
}

/* Image Area for Featured Promo */
.featured-promo .promo-image {
    flex: 0 0 40%; /* Take 40% width */
    position: relative;
    min-height: 250px; /* Ensure image has some height */
}

.featured-promo .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge on Featured Promo Image */
.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(15deg);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
    animation: pulse 2s infinite;
    z-index: 3;
}

.badge-text {
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 1.5rem;
    font-family: 'Prompt', sans-serif;
    text-transform: uppercase;
}

@keyframes pulse {
    0% {
        transform: rotate(15deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }

    100% {
        transform: rotate(15deg) scale(1);
    }
}


/* Button for Standard Promo Cards */
.promo-link-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: auto; /* Push to bottom if needed */
}

.promo-link-button:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* Promo Calendar Styles (largely unchanged) */
.promo-calendar {
    background-color: rgba(25, 35, 45, 0.6);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* ... rest of promo-calendar styles ... */
.calendar-header {
    background: linear-gradient(135deg, #333F50 0%, #1F2937 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendar-header i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.calendar-header h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.calendar-body {
    padding: 25px;
}

.calendar-body p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.calendar-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.event {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: rgba(15, 25, 35, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.event:hover {
    transform: translateY(-5px);
    background-color: rgba(15, 25, 35, 0.8);
}

.event-date {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.event-date i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.event-info h5 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.event-info p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.calendar-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.calendar-button i {
    transition: transform 0.3s ease;
}

.calendar-button:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.calendar-button:hover i {
    transform: translateX(5px);
}


/* Promo Terms Styles (unchanged) */
.promo-terms {
    background-color: rgba(15, 25, 35, 0.5);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid var(--accent-gold);
}

/* ... rest of promo-terms styles ... */
.promo-terms h4 {
    color: white;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.promo-terms h4 i {
    color: var(--accent-gold);
}

.promo-terms p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .promo-card.featured-promo {
        grid-column: span 1; /* Span 1 column on medium screens */
        flex-direction: column-reverse; /* Stack image above content */
    }

    .featured-promo .promo-card-content,
    .featured-promo .promo-image {
        flex: 1 1 auto; /* Allow flex items to grow/shrink */
        width: 100%; /* Take full width when stacked */
    }

    .featured-promo .promo-image {
       min-height: 200px; /* Adjust height */
    }

    .featured-promo .promo-card-header {
       /* Adjust position slightly if needed */
       top: 15px;
       left: 15px;
    }
     .featured-promo .promo-card-content {
       padding: 30px;
       padding-top: 60px; /* Adjust for header */
    }

    .promo-badge {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .promotions-section {
        padding: 60px 15px;
    }
    
    .promo-items-grid {
        grid-template-columns: 1fr; /* Stack all cards */
        gap: 20px;
    }
     .promo-card.featured-promo {
        /* Already span 1 from above media query */
    }


    .featured-promo .promo-card-content h3 {
        font-size: 1.8rem;
    }

    .calendar-events {
        grid-template-columns: 1fr; /* Stack events */
    }
    .featured-promo .promo-card-content {
         padding: 25px;
         padding-top: 55px;
    }

}

@media (max-width: 480px) {
    .promotions-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-section .section-subheading {
        font-size: 1rem;
    }
    
    .contact-icon-container {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon-container i {
        font-size: 24px;
    }
    
    .contact-content h3 {
        font-size: 1.4rem;
    }
    
    .contact-content h4 {
        font-size: 1.2rem;
    }
    
    .primary-contact .contact-content h3 {
        font-size: 1.5rem;
    }
    
    .qr-container {
        width: 130px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
}

/* Contact Section Styles */
.contact-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-color), var(--darker-color));
    overflow: hidden;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-section .section-header h2 {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-section .section-subheading {
    color: var(--light-color);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-card-inner {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-icon-container {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.contact-icon-container i {
    font-size: 30px;
    color: var(--dark-color);
}

.contact-content {
    flex: 1;
    margin-bottom: 20px;
}

.contact-content h3, 
.contact-content h4 {
    color: var(--light-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-content h4 {
    font-size: 1.3rem;
}

.contact-content p {
    color: var(--muted-color);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.contact-id {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.contact-id span {
    color: var(--muted-color);
    margin-right: 5px;
}

.contact-id strong {
    color: var(--primary-color);
    font-weight: bold;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.contact-button i {
    margin-right: 8px;
    font-size: 16px;
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
}

.primary-button {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-button i {
    margin-right: 8px;
}

.primary-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

/* Featured Contact Card */
.contact-card.primary-contact {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 120, 0, 0.2));
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.primary-contact .contact-card-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 30px;
}

.primary-contact .contact-icon-container {
    width: 90px;
    height: 90px;
}

.primary-contact .contact-icon-container i {
    font-size: 45px;
}

.primary-contact .contact-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.qr-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 150px;
}

.qr-container img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.qr-container p {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.primary-contact .contact-button {
    grid-column: 2;
    max-width: 200px;
    justify-content: center;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 40px;
}

.faq-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.faq-header i {
    font-size: 30px;
    color: var(--primary-color);
    margin-right: 15px;
}

.faq-header h3 {
    color: var(--light-color);
    font-size: 1.8rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h4 {
    color: var(--light-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-toggle i {
    font-size: 14px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-answer p {
    color: var(--muted-color);
    line-height: 1.6;
}

.contact-cta-container {
    text-align: center;
    margin-top: 30px;
}

.contact-cta-container p {
    color: var(--muted-color);
    margin-bottom: 20px;
}

/* Contact Section Decorative Elements */
.contact-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.decoration-elem {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.elem-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -150px;
}

.elem-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: 50px;
    right: -100px;
}

.elem-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    bottom: 30%;
    left: 10%;
}

.contact-section .section-container {
    position: relative;
    z-index: 2;
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .primary-contact .contact-card-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .primary-contact .contact-icon-container,
    .primary-contact .qr-container {
        margin: 0 auto 20px;
    }
    
    .primary-contact .contact-button {
        grid-column: 1;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-section .section-subheading {
        font-size: 1rem;
    }
    
    .contact-icon-container {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon-container i {
        font-size: 24px;
    }
    
    .contact-content h3 {
        font-size: 1.4rem;
    }
    
    .contact-content h4 {
        font-size: 1.2rem;
    }
    
    .primary-contact .contact-content h3 {
        font-size: 1.5rem;
    }
    
    .qr-container {
        width: 130px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
}

/* Highlight effect for contact card */
@keyframes highlightPulse {
    0% {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 15px 30px rgba(255, 165, 0, 0.6);
        transform: translateY(-8px);
    }
    100% {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(0);
    }
}

.highlight-card {
    animation: highlightPulse 2s ease;
}

/* Security Section Styles */
.security-section {
    background-color: var(--primary-dark);
    color: var(--text-gray);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.security-section .section-container {
    position: relative;
    z-index: 10;
}

.security-section .section-header {
    margin-bottom: 60px;
}

.security-features {
    margin-bottom: 60px;
}

.secure-server {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secure-server:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.security-illustration {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon {
    font-size: 60px;
    color: var(--accent-gold);
    z-index: 1;
    animation: pulse 2s infinite;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    opacity: 0.8;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.security-content {
    flex: 1;
    min-width: 300px;
}

.security-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.security-content p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.trust-icon i {
    font-size: 30px;
    color: var(--accent-gold);
}

.trust-card h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 15px;
}

.trust-card p {
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.license-certification {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.license-content {
    flex: 1;
    min-width: 300px;
}

.license-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.license-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.license-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(231, 57, 70, 0.3);
    gap: 8px;
}

.license-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(231, 57, 70, 0.5);
}

.certificate-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    flex: 0 0 300px;
}

.certificate {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    width: 130px;
    transition: transform 0.3s ease;
}

.certificate:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.certificate i {
    font-size: 30px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.certificate span {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

.responsible-gaming {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.responsible-icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.responsible-icon i {
    font-size: 36px;
    color: var(--accent-gold);
}

.responsible-content {
    flex: 1;
    min-width: 300px;
}

.responsible-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.responsible-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.responsible-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.resp-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 8px;
}

.resp-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.security-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0.2;
    pointer-events: none;
}

.p1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    animation: float 15s infinite ease-in-out;
}

.p2 {
    top: 60%;
    left: 8%;
    width: 120px;
    height: 120px;
    animation: float 20s infinite ease-in-out;
    animation-delay: -5s;
}

.p3 {
    top: 30%;
    right: 10%;
    width: 80px;
    height: 80px;
    animation: float 18s infinite ease-in-out;
    animation-delay: -3s;
}

.p4 {
    bottom: 20%;
    right: 15%;
    width: 150px;
    height: 150px;
    animation: float 25s infinite ease-in-out;
    animation-delay: -7s;
}

.p5 {
    top: 15%;
    left: 50%;
    width: 60px;
    height: 60px;
    animation: float 22s infinite ease-in-out;
    animation-delay: -10s;
}

.p6 {
    bottom: 15%;
    left: 30%;
    width: 90px;
    height: 90px;
    animation: float 17s infinite ease-in-out;
    animation-delay: -2s;
}

/* Responsive styles for security section */
@media (max-width: 1024px) {
    .security-section {
        padding: 80px 0;
    }
    
    .secure-server,
    .license-certification,
    .responsible-gaming {
        padding: 30px;
    }
    
    .security-illustration {
        flex: 0 0 150px;
    }
    
    .shield-container {
        width: 100px;
        height: 100px;
    }
    
    .shield-icon {
        font-size: 50px;
    }
    
    .security-content h3,
    .license-content h3,
    .responsible-content h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .security-section {
        padding: 60px 0;
    }
    
    .security-section .section-header {
        margin-bottom: 40px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .certificate-logos {
        flex: 1 0 100%;
        margin-top: 20px;
    }
    
    .certificate {
        width: 110px;
    }
}

@media (max-width: 480px) {
    .security-section {
        padding: 50px 0;
    }
    
    .security-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .security-features,
    .trust-grid,
    .license-certification {
        margin-bottom: 40px;
    }
    
    .secure-server,
    .license-certification,
    .responsible-gaming {
        padding: 25px;
    }
    
    .security-illustration {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }
    
    .trust-card {
        padding: 20px;
    }
    
    .trust-icon {
        width: 60px;
        height: 60px;
    }
    
    .trust-icon i {
        font-size: 25px;
    }
    
    .trust-card h4 {
        font-size: 1.2rem;
    }
    
    .responsible-icon {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
    
    .responsible-icon i {
        font-size: 28px;
    }
    
    .responsible-links {
        flex-direction: column;
    }
}
