/* Osom Casino - ColorHunt Palette Design */
:root {
    /* ColorHunt Palette Colors */
    --bright-orange: #FF9B00;
    --vivid-yellow: #FFE100;
    --deep-golden-yellow: #FFC900;
    --pale-yellow-cream: #EBE389;
    
    /* Text Colors for Contrast Compliance */
    --text-white: #FFFFFF;
    --text-black: #000000;
    
    /* Background Colors */
    --bg-primary: var(--pale-yellow-cream);
    --bg-secondary: var(--vivid-yellow);
    --bg-accent: var(--deep-golden-yellow);
    --bg-emphasis: var(--bright-orange);
    
    /* Interactive States */
    --hover-orange: #E68A00;
    --hover-golden: #E6B800;
    --hover-yellow: #E6CC00;
    --hover-cream: #D4C877;
    
    /* Utility Colors */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--bg-emphasis), var(--bg-accent));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: var(--bg-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--deep-golden-yellow);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--text-black);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--bright-orange);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--bg-emphasis);
    color: var(--text-white);
    border-color: var(--bg-emphasis);
}

.btn-primary:hover {
    background-color: var(--hover-orange);
    border-color: var(--hover-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-emphasis);
    border-color: var(--bg-emphasis);
}

.btn-outline:hover {
    background-color: var(--bg-emphasis);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-black);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-black);
    text-align: center;
    margin-bottom: 3rem;
}

section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 1rem;
}

/* About Platform Section */
.about-platform {
    background-color: var(--bg-primary);
}

.about-platform p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-black);
}

/* Features Section */
.features {
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--deep-golden-yellow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--bright-orange);
}

.feature-card img {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-black);
}

.feature-card p {
    color: var(--text-black);
    line-height: 1.6;
    opacity: 0.8;
}

/* Registration Process Section */
.registration-process {
    background-color: var(--bg-primary);
}

.process-content h3 {
    color: var(--text-black);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.process-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-black);
}

/* How to Register Guide Section */
.register-guide-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.register-guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.register-text-content h2 {
    color: var(--text-black);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.register-text-content h3 {
    color: var(--bg-emphasis);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem 0;
}

.register-text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.steps-container {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--bg-emphasis);
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.step-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bg-emphasis), var(--hover-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.step-content h4 {
    color: var(--text-black);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.step-content h4 strong {
    color: var(--bg-emphasis);
}

.step-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.register-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
}

.register-note a {
    color: var(--bg-emphasis);
    text-decoration: none;
    font-weight: 600;
}

.register-note a:hover {
    text-decoration: underline;
}

.register-visual-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.register-visual-content img {
    width: 200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.register-visual-content img:hover {
    transform: scale(1.02);
}

/* How to Login Guide Section */
.login-guide-section {
    background-color: var(--bg-primary);
    padding: 4rem 0;
}

.login-guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.login-text-content h2 {
    color: var(--text-black);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.login-text-content h3 {
    color: var(--bg-emphasis);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem 0;
}

.login-text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bg-emphasis);
    font-weight: bold;
    font-size: 1.1rem;
}

.login-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
}

.login-note a {
    color: var(--bg-emphasis);
    text-decoration: none;
    font-weight: 600;
}

.login-note a:hover {
    text-decoration: underline;
}

.login-visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-visual-content img {
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.login-visual-content img:hover {
    transform: scale(1.02);
}

/* Advantages & Security Section */
.advantages-security {
    background-color: var(--bg-secondary);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.security-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--deep-golden-yellow);
}

.security-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--bright-orange);
}

.security-item h3 {
    color: var(--text-black);
    margin-bottom: 1rem;
}

.security-item p {
    color: var(--text-black);
    line-height: 1.6;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--deep-golden-yellow);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--bright-orange);
}

.faq-item h3 {
    background-color: var(--bg-emphasis);
    color: var(--text-white);
    padding: 1.5rem;
    margin: 0;
    font-size: 1.2rem;
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-black);
    line-height: 1.6;
}

.faq-item a {
    color: var(--bg-emphasis);
    text-decoration: none;
    font-weight: 600;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Games Slider Section */
.games-slider-section {
    background-color: var(--bg-primary);
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-black);
    text-align: center;
    margin-bottom: 3rem;
}

.games-slider-container {
    max-width: 1000px;
    margin: 0 auto;
}

.main-interface-container {
    margin-bottom: 2rem;
}

.main-interface {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--deep-golden-yellow);
}

.main-game-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-emphasis);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background-color: var(--hover-orange);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow-left {
    left: 15px;
}

.nav-arrow-right {
    right: 15px;
}

.thumbnails-container {
    margin-top: 2rem;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.thumbnail-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--deep-golden-yellow);
    background-color: var(--bg-primary);
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    border-color: var(--bright-orange);
    box-shadow: var(--shadow-lg);
}

.thumbnail-item.active {
    border-color: var(--bright-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.thumbnail-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-white);
    padding: 1rem 0.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-item.active .thumbnail-overlay {
    opacity: 1;
}

.game-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.play-button {
    background-color: var(--bg-emphasis);
    color: var(--text-white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: var(--transition);
}

.play-button:hover {
    background-color: var(--hover-orange);
}

/* Responsive Design for Games Slider */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .main-interface {
        max-width: 300px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .nav-arrow-left {
        left: 10px;
    }
    
    .nav-arrow-right {
        right: 10px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    
    .thumbnail-item img {
        height: 100px;
    }
    
    .thumbnail-overlay {
        padding: 0.75rem 0.5rem 0.5rem;
    }
    
    .game-name {
        font-size: 0.8rem;
    }
    
    .play-button {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .games-slider-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .main-interface {
        max-width: 250px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .thumbnail-item img {
        height: 80px;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--bg-emphasis), var(--bg-accent));
    color: var(--text-white);
    text-align: center;
}

.cta h2 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    color: var(--text-white);
    border-color: var(--text-white);
}

.cta .btn-outline:hover {
    background-color: var(--text-white);
    color: var(--bg-emphasis);
}

/* Footer Styles */
footer {
    background-color: var(--bg-emphasis);
    color: var(--text-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,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--text-white);
    opacity: 1;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-bottom {
    border-top: 1px solid var(--bg-accent);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-white);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Register and Login Guide Responsive */
    .register-guide-content,
    .login-guide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .register-text-content h2,
    .login-text-content h2 {
        font-size: 2rem;
    }

    .register-text-content h3,
    .login-text-content h3 {
        font-size: 1.5rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .step-icon {
        align-self: center;
    }

    .register-visual-content {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .register-visual-content img {
        width: 180px;
        max-width: 180px;
    }

    .login-visual-content img {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Register and Login Guide Mobile */
    .register-text-content h2,
    .login-text-content h2 {
        font-size: 1.8rem;
    }

    .register-text-content h3,
    .login-text-content h3 {
        font-size: 1.3rem;
    }

    .step-item {
        padding: 1rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .register-visual-content img {
        width: 140px;
        max-width: 140px;
    }

    .login-visual-content img {
        width: 150px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Ensure proper contrast for all text elements */
.text-on-dark {
    color: var(--text-white) !important;
}

.text-on-light {
    color: var(--text-black) !important;
}

/* Additional contrast rules for dynamic content */
.bg-bright-orange,
.bg-deep-golden-yellow {
    color: var(--text-white) !important;
}

.bg-vivid-yellow,
.bg-pale-yellow-cream {
    color: var(--text-black) !important;
}

/* Focus styles for keyboard navigation */
.btn:focus,
a:focus {
    outline: 2px solid var(--bg-emphasis);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-black: #000000;
        --text-white: #FFFFFF;
        --bright-orange: #CC7A00;
        --vivid-yellow: #CCB300;
        --deep-golden-yellow: #CC9900;
        --pale-yellow-cream: #B8A666;
    }
}

/* Additional Page Styles */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-card img {
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-text h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.why-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Contact Methods Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card img {
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Support Categories Styles */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.category-card img {
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-card ul {
    list-style: none;
    padding: 0;
}

.category-card li {
    padding: 0.25rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1rem;
}

.category-card li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Contact Form Styles */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.support-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--accent-color);
}

.error-message {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Emergency Contact Styles */
.emergency-contact {
    background: var(--bg-light);
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.emergency-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.emergency-info p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.emergency-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emergency-method {
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.emergency-method strong {
    color: var(--primary-color);
}

.emergency-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Important Notice Styles */
.important-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.important-notice h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.important-notice p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

/* Games Slider Section Styles */
.games-slider-section {
    background: linear-gradient(135deg, var(--bg-light), #f0f9ff);
    padding: 4rem 0;
}

.games-slider-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.main-image-container {
    position: relative;
}

.main-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: opacity 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-arrow:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.thumbnails-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.thumbnails-grid::-webkit-scrollbar {
    width: 4px;
}

.thumbnails-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.thumbnails-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 2px;
}

.thumbnail-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.thumbnail-item.active {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
}

.thumbnail-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem 0.5rem 0.5rem;
    color: white;
    text-align: center;
}

.game-name {
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.game-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--deep-golden-yellow);
}

.game-description h3 {
    color: var(--text-black);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.game-description p {
    color: var(--text-black);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.game-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, var(--bg-emphasis), var(--hover-orange));
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 155, 0, 0.3);
}

/* Mobile Responsive Design for Games Slider */
@media (max-width: 768px) {
    .games-slider-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image {
        height: auto;
        max-height: 300px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(5, 1fr);
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
    }
    
    .thumbnails-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .thumbnail-item {
        min-width: 100px;
        flex-shrink: 0;
    }
    
    .thumbnail-image {
        height: 80px;
    }
    
    .game-description {
        padding: 1.5rem;
    }
    
    .game-description h3 {
        font-size: 1.5rem;
    }
    
    .game-features {
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .games-slider-section {
        padding: 2rem 0;
    }
    
    .main-image {
        height: auto;
        max-height: 250px;
    }
    
    .thumbnail-image {
        height: 60px;
    }
    
    .game-description {
        padding: 1rem;
    }
    
    .game-description h3 {
        font-size: 1.3rem;
    }
    
    .game-description p {
        font-size: 1rem;
    }
}

/* Responsive Design for Additional Pages */
@media (max-width: 768px) {
    .story-content,
    .why-content,
    .emergency-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-methods {
        text-align: left;
    }
}

/* Register and Login Guide Sections */
.register-guide-section,
.login-guide-section {
    background-color: var(--bg-primary);
    padding: 4rem 0;
}

.register-guide-content,
.login-guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.register-visual-content,
.login-visual-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.register-visual-content img,
.login-visual-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.register-visual-content img:hover,
.login-visual-content img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Print styles */
@media print {
    .nav-menu,
    .auth-buttons,
    .cta,
    footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}
