/* ==========================================================================
   OK WIN GAME - Global Design System & Stylesheet
   Theme: Custom Salmon/Coral (#ff908d) Gaming Aesthetic with Clean Modern Accents
   ========================================================================== */

:root {
    /* User Selected Theme Colors */
    --theme-coral: #ff908d;
    --theme-coral-hover: #f47875;
    --theme-coral-dark: #e0534e;
    --theme-coral-deep: #b8322e;
    --theme-coral-light: #fff0ef;
    --theme-coral-subtle: #fff8f8;

    --primary-orange: #ff908d;
    --primary-orange-hover: #f47875;
    --accent-orange: #ff908d;
    --cta-red: #ff908d;
    --cta-red-hover: #f47875;

    --bg-page: #F4F7FA;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --border-color: #E2E8F0;
    --border-dark: #CBD5E1;
    --text-primary: #1E293B;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-light: #FFFFFF;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 8px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 18px -3px rgba(255, 144, 141, 0.25), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    --max-width: 1200px;
    --content-width: 900px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-page);
    color: var(--text-secondary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--theme-coral-deep);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--theme-coral-hover);
    text-decoration: underline;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   Header & Navigation (Coral #ff908d Theme)
   ========================================================================== */
.site-header {
    background: linear-gradient(135deg, #ff908d 0%, #ff8380 100%);
    box-shadow: 0 3px 12px rgba(255, 144, 141, 0.35);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 2px solid var(--theme-coral-dark);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.site-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: transform 0.2s ease;
}

.site-brand-link:hover {
    transform: scale(1.03);
    text-decoration: none !important;
}

.brand-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    display: block;
}

.brand-logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.site-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.1rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.22);
    text-decoration: none;
}

.nav-link.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.nav-link.btn-nav-login {
    background-color: #FFFFFF;
    border: 2px solid #FFFFFF;
    color: var(--theme-coral-deep);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 800;
    text-shadow: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nav-link.btn-nav-login:hover {
    background-color: #FFF0EF;
    color: var(--theme-coral-dark);
}

.nav-link.btn-nav-register {
    background-color: #1E293B;
    color: #FFFFFF;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    border: 2px solid #1E293B;
    font-weight: 800;
    text-shadow: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.nav-link.btn-nav-register:hover {
    background-color: #0F172A;
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 24px;
    cursor: pointer;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    line-height: 1;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid #FFFFFF;
}

/* Mobile Navigation Dropdown */
.mobile-nav-panel {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff908d 0%, #ff8380 100%);
    border-bottom: 3px solid var(--theme-coral-dark);
    padding: 15px 20px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.mobile-nav-panel.open {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 10px 14px;
    font-size: 1.05rem;
    color: #FFFFFF;
    border-radius: var(--radius-sm);
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link.active {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.site-content {
    flex-grow: 1;
    padding: 30px 0 60px;
}

.content-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin: 0 auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.35;
}

h1.main-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

h2.section-heading {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    border-bottom: 4px solid var(--theme-coral);
    display: inline-block;
    padding-bottom: 4px;
}

h3.sub-heading {
    font-size: 1.35rem;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

/* Feature Highlight Badges */
.quick-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 25px 0 35px;
}

.highlight-box {
    background: var(--theme-coral-light);
    border: 1px solid rgba(255, 144, 141, 0.4);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}

.highlight-box:hover {
    transform: translateY(-2px);
}

.highlight-icon {
    font-size: 26px;
}

.highlight-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.highlight-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .quick-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Hero & Action Button Groups (Theme Color Buttons)
   ========================================================================== */
.cta-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 28px 0 32px;
}

.pill-button {
    display: inline-block;
    background-color: var(--theme-coral);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 12px 36px;
    border-radius: 15px;
    border: 2px dashed #FFFFFF;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 144, 141, 0.45);
    transition: all 0.25s ease;
    text-decoration: none !important;
    cursor: pointer;
}

.pill-button:hover {
    background-color: var(--theme-coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 144, 141, 0.6);
    color: #FFFFFF;
}

.pill-button.btn-secondary {
    background-color: #1E293B;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.35);
}

.pill-button.btn-secondary:hover {
    background-color: #0F172A;
    box-shadow: 0 6px 14px rgba(30, 41, 59, 0.45);
}

/* Centered Banner Image */
.hero-image-wrap {
    margin: 30px auto;
    text-align: center;
    max-width: 650px;
}

.hero-image-wrap img {
    border-radius: var(--radius-md);
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Category Blocks (Theme Color #ff908d)
   ========================================================================== */
.category-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin: 35px auto 40px;
}

.category-block {
    background: var(--theme-coral);
    border-radius: 22px;
    min-height: 160px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(255, 144, 141, 0.3);
}

.category-block:hover {
    background: var(--theme-coral-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 144, 141, 0.5);
}

.category-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 16px;
}

.category-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.category-text {
    font-size: 0.95rem;
    line-height: 1.35;
    opacity: 0.98;
}

/* ==========================================================================
   Two-Column Feature Blocks
   ========================================================================== */
.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    padding: 20px 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-img-col {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img-col img {
    max-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.feature-text-col {
    flex: 1;
}

.feature-text-col h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* ==========================================================================
   Styled Data Tables
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
    margin: 25px 0 35px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
    font-size: 1rem;
}

.data-table th,
.data-table td {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
}

.data-table thead th {
    background-color: var(--theme-coral-light);
    color: var(--text-primary);
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid var(--theme-coral);
}

.data-table tbody tr:nth-child(even) {
    background-color: #FDFEFE;
}

.data-table tbody tr:hover {
    background-color: rgba(255, 144, 141, 0.08);
}

.data-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.data-table.centered td {
    text-align: center;
}

/* ==========================================================================
   Numbered Steps & Lists
   ========================================================================== */
ol.styled-steps {
    padding-left: 24px;
    margin: 20px 0 30px;
}

ol.styled-steps li {
    margin-bottom: 14px;
    padding-left: 6px;
    font-size: 1.05rem;
}

ol.styled-steps li strong {
    color: var(--text-primary);
}

ul.styled-list {
    list-style-type: disc;
    padding-left: 24px;
    margin: 20px 0 30px;
}

ul.styled-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* ==========================================================================
   Interactive FAQ Accordion (<details>)
   ========================================================================== */
.okwin-faq {
    width: 100%;
    max-width: 1050px;
    margin: 25px auto 40px;
}

.okwin-faq details {
    border: 2px solid var(--theme-coral);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s ease;
}

.okwin-faq details:hover {
    border-color: var(--theme-coral-hover);
}

.okwin-faq summary {
    cursor: pointer;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    position: relative;
    padding-right: 50px;
    user-select: none;
}

.okwin-faq summary::-webkit-details-marker {
    display: none;
}

.okwin-faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 600;
    color: var(--theme-coral);
    line-height: 1;
}

.okwin-faq details[open] summary::after {
    content: "−";
}

.okwin-faq details[open] summary {
    background-color: var(--theme-coral-light);
}

.okwin-faq .faq-answer {
    padding: 16px 20px 20px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 144, 141, 0.35);
    background-color: #fff;
}

/* ==========================================================================
   Contact Form Styles
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 35px 0;
}

.contact-card {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    font-size: 28px;
    color: var(--theme-coral);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    background-color: #fff;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--theme-coral);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 144, 141, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--theme-coral);
    color: #fff;
    border: 2px dashed #fff;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 144, 141, 0.45);
    transition: all 0.2s;
}

.submit-btn:hover {
    background-color: var(--theme-coral-hover);
    transform: translateY(-2px);
}

.form-feedback {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-top: 10px;
}

.form-feedback.success {
    display: block;
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    margin-top: auto;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.footer-nav-links {
    font-size: 1rem;
    color: var(--text-secondary);
}

.footer-nav-links a {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 8px;
}

.footer-nav-links a:hover {
    color: var(--theme-coral-dark);
}

.footer-middle {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-middle-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-resp-gaming {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-badge-18 {
    flex-shrink: 0;
}

.footer-badge-18 img {
    width: 120px;
    height: auto;
}

.footer-bottom {
    background-color: var(--theme-coral);
    padding: 16px 0;
    text-align: center;
    color: #FFFFFF;
    border-top: 1px solid var(--theme-coral-dark);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 600;
}

/* ==========================================================================
   Floating Shimmer CTA Button
   ========================================================================== */
@keyframes border-sweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.floating-cta-container {
    position: fixed;
    right: 20px;
    top: 90%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
}

.shimmer-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-coral);
    color: #1E293B !important;
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px dashed #1E293B;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 144, 141, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 200px;
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

.shimmer-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    z-index: 1;
    animation: border-sweep 2s infinite linear;
}

.shimmer-cta-button:hover {
    background-color: #FFFFFF;
    color: var(--theme-coral-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    border: 2px dashed var(--theme-coral-deep);
}

.shimmer-cta-button:hover::before {
    animation: none;
}

.button-shimmer-text {
    font-size: 1.05rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    line-height: 1.25;
}

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--theme-coral);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--theme-coral-hover);
    transform: translateY(-3px);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .category-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .content-card {
        padding: 25px 20px;
    }

    h1.main-title {
        font-size: 1.85rem;
    }

    h2.section-heading {
        font-size: 1.5rem;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .feature-img-col {
        flex: 0 0 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-middle-grid {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .category-blocks {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-block {
        min-height: 140px;
        padding: 20px 15px;
    }

    .cta-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .pill-button {
        width: 100%;
    }

    .floating-cta-container {
        right: 0;
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        align-items: center;
    }

    .shimmer-cta-button {
        width: 92%;
        max-width: 320px;
        min-height: 48px;
        border-radius: 8px;
        padding: 8px 14px;
    }

    .site-content {
        padding-bottom: 90px;
    }
}
