/* ZTL Games - Main Stylesheet */
/* Inspired by YonoGames design with modern casino gaming aesthetics */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #00a8cc;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid #00d4ff;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    text-decoration: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #00d4ff;
    border-radius: 1px;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    border-color: #00d4ff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00a8cc 0%, #007799 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border-color: #00d4ff;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0f0f23;
    text-decoration: none;
}

.btn-login {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-login:hover {
    background: #ffffff;
    color: #0f0f23;
    text-decoration: none;
}

.btn-register {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    border-color: #00d4ff;
}

.btn-register:hover {
    background: linear-gradient(135deg, #00a8cc 0%, #007799 100%);
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.page-date {
    color: #888;
    font-size: 0.9rem;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 64px;
    height: 64px;
}

.feature-card h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

/* Games Preview Section */
.games-preview-section {
    padding: 4rem 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    color: #00d4ff;
    padding: 1.5rem 1.5rem 0.5rem;
}

.game-card p {
    padding: 0 1.5rem 1.5rem;
    color: #e0e0e0;
}

.game-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Games Categories */
.games-categories {
    padding: 2rem 0;
}

.category-section {
    margin-bottom: 4rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.game-item {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.game-item:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.game-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.game-item h3 {
    color: #00d4ff;
    padding: 1rem 1rem 0.5rem;
}

.game-item p {
    padding: 0 1rem 1rem;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.game-item .btn {
    margin: 0 1rem 1rem;
}

/* About Content */
.about-content {
    padding: 2rem 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-text h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: rgba(26, 26, 46, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.value-item h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

/* Team Content */
.team-content {
    padding: 2rem 0;
}

.team-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.team-intro h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.leadership-section {
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.member-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 1rem;
    font-style: italic;
}

.team-grid.small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-member.small {
    text-align: center;
}

.team-member.small img {
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.department {
    margin-bottom: 3rem;
}

.department h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.values-section {
    margin-bottom: 4rem;
}

.join-team-section {
    text-align: center;
    background: rgba(26, 26, 46, 0.8);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.join-team-section h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.join-team-section p {
    margin-bottom: 2rem;
    color: #e0e0e0;
}

/* Support Content */
.support-content {
    padding: 2rem 0;
}

.support-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.support-intro h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.support-methods {
    margin-bottom: 4rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-method {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.support-method:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.method-icon {
    margin-bottom: 1.5rem;
}

.method-icon img {
    width: 64px;
    height: 64px;
}

.support-method h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.support-method p {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-list {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.faq-item h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.support-topics {
    margin-bottom: 4rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.topic-category {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.topic-category h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.topic-category ul {
    list-style: none;
}

.topic-category li {
    padding: 0.5rem 0;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.topic-category li:last-child {
    border-bottom: none;
}

.support-hours {
    margin-bottom: 4rem;
}

.hours-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hours-item {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.hours-item h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.feedback-section {
    text-align: center;
    background: rgba(26, 26, 46, 0.8);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.feedback-section h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.feedback-section p {
    margin-bottom: 2rem;
    color: #e0e0e0;
}

/* Privacy and Disclaimer Content */
.privacy-content,
.disclaimer-content {
    padding: 2rem 0;
}

.privacy-intro,
.disclaimer-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.privacy-intro h2,
.disclaimer-intro h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.privacy-section,
.disclaimer-section {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 2rem;
}

.privacy-section h2,
.disclaimer-section h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.privacy-section h3,
.disclaimer-section h3 {
    color: #00d4ff;
    margin: 1.5rem 0 1rem;
}

.privacy-section ul,
.disclaimer-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-section li,
.disclaimer-section li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.contact-info {
    background: rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #00d4ff;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

/* Footer */
.footer {
    background: rgba(15, 15, 35, 0.95);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 2px solid #00d4ff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00d4ff;
}

.footer-section .btn {
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-bottom p {
    color: #888;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.95);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(0, 212, 255, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-auth {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-section.reverse {
        direction: ltr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #00d4ff;
        color: #000000;
    }

    .btn-secondary {
        background: #ffffff;
        color: #000000;
        border-color: #000000;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-auth,
    .cta-section {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .main-content {
        margin-top: 0;
    }
}
