/* JE777 Casino Website - Main Stylesheet */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-gold: #f1d274;
    --primary-green: #01694e;
    --dark-green: #02392b;
    --gradient-bg: linear-gradient(180deg, #01694e, #02392b 167.39%);
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray-dark: #333333;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--white);
}

h2 {
    font-size: 2rem;
    color: var(--primary-green);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
}

p {
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-gold);
}

/* Container and Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    min-height: 44px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-bg);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--white);
}

.btn-secondary {
    background: var(--primary-gold);
    color: var(--primary-green);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-green);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.header {
    background: var(--gradient-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
}

.header .container {
    display: flex;
    max-width: unset;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-gold);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient-bg);
    padding: 1rem 0;
    box-shadow: var(--shadow-heavy);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .nav {
    flex-direction: column;
    gap: 0;
}

.mobile-nav .nav-link {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 105, 78, 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Main Content Sections */
.section {
    padding: 4rem 0;
}

.section-bg {
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards and Content Blocks */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.card-img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Login */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-green);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(1, 105, 78, 0.1);
}

hr {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid #eee;
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.slot-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.slot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.slot-img {
    width: 100%;
    object-fit: cover;
}

.slot-content {
    padding: 1.5rem;
}

.slot-title {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.slot-desc {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.5;
}

/* Features List */
.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray-dark);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: var(--gradient-bg);
    color: var(--white);
    font-weight: 600;
}

tr:hover {
    background: var(--gray-light);
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.faq-answer {
    padding: 1.5rem;
    color: var(--gray-dark);
}

/* Footer */
.footer {
    background: var(--gradient-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

section:not(.hero) {
    background-color: var(--primary-gold);
}

.hero .btn {
    text-shadow: none !important;
}

.hero p a:not(.btn) {
    color: var(--primary-gold);
}


.footer-section p,
.footer-bottom p {
    color: var(--white);
}

.footer-section a {
    color: var(--white);
    display: block;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.payment-method {
    background: var(--white);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive Design - Mobile First */

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .slots-grid {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width:1440px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

}

@media (max-width:373px) {
    .header .container {
        flex-wrap: wrap;
    }

    .header-actions {
        justify-content: center;
        width: 100%;
        margin-top: 10px;
        order: 3;
    }

    .hero {
        padding-top: 170px !important;
        padding-bottom: 30px !important
    }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {


    .hero {
        min-height: 70vh;
        padding-top: 80px;
    }

    .section {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
    }
}

/* Tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width:1024px) {
    .hero {
        padding-right: 30px;
        padding-left: 30px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling and performance */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}