/**
 * Okbet Login - Main Stylesheet
 * Version: 1.0.0
 * Prefix: s474-
 * Color Palette: #FFFACD | #2C3E50 | #CC99FF | #9370DB | #7B68EE
 */

/* CSS Variables */
:root {
    --s474-primary: #CC99FF;
    --s474-secondary: #9370DB;
    --s474-accent: #7B68EE;
    --s474-bg-dark: #2C3E50;
    --s474-bg-light: #FFFACD;
    --s474-text-light: #FFFACD;
    --s474-text-dark: #2C3E50;
    --s474-gradient: linear-gradient(135deg, #7B68EE 0%, #9370DB 50%, #CC99FF 100%);
    --s474-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --s474-radius: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--s474-bg-dark);
    color: var(--s474-text-light);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--s474-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--s474-text-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.s474-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.s474-wrapper {
    padding: 2rem 0;
}

/* Header */
.s474-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--s474-bg-dark) 0%, rgba(44, 62, 80, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(204, 153, 255, 0.2);
}

.s474-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.s474-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s474-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.s474-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--s474-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s474-header-actions {
    display: flex;
    gap: 0.8rem;
}

.s474-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.s474-btn-primary {
    background: var(--s474-gradient);
    color: var(--s474-text-light);
    box-shadow: var(--s474-shadow);
}

.s474-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 153, 255, 0.4);
}

.s474-btn-outline {
    background: transparent;
    color: var(--s474-primary);
    border: 2px solid var(--s474-primary);
}

.s474-btn-outline:hover {
    background: var(--s474-primary);
    color: var(--s474-text-dark);
}

/* Hamburger Menu */
.s474-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.s474-hamburger span {
    width: 24px;
    height: 3px;
    background: var(--s474-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.s474-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.s474-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.s474-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.s474-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--s474-bg-dark);
    border-bottom: 1px solid rgba(204, 153, 255, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.s474-mobile-menu.s474-menu-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.s474-menu-list {
    list-style: none;
    padding: 1rem 0;
}

.s474-menu-item {
    border-bottom: 1px solid rgba(204, 153, 255, 0.1);
}

.s474-menu-link {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
    color: var(--s474-text-light);
    transition: all 0.3s ease;
}

.s474-menu-link:hover {
    background: rgba(204, 153, 255, 0.1);
    color: var(--s474-primary);
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.s474-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--s474-radius);
    margin: 1.5rem;
}

.s474-slides {
    position: relative;
}

.s474-slide {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.s474-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--s474-radius);
}

.s474-slide-active {
    display: block;
}

.s474-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.s474-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 250, 205, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.s474-dot-active {
    background: var(--s474-primary);
    transform: scale(1.2);
}

/* Section Titles */
.s474-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--s474-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.s474-section {
    padding: 2rem 1.5rem;
}

/* Game Grid */
.s474-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.s474-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.s474-game-item:hover {
    background: rgba(147, 112, 219, 0.3);
    transform: translateY(-3px);
}

.s474-game-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.s474-game-name {
    font-size: 1rem;
    color: var(--s474-text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Category Title */
.s474-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s474-primary);
    margin: 1.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--s474-accent);
}

/* Info Cards */
.s474-info-card {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.2) 0%, rgba(147, 112, 219, 0.2) 100%);
    border-radius: var(--s474-radius);
    padding: 1.5rem;
    margin: 1rem 1.5rem;
    border: 1px solid rgba(204, 153, 255, 0.2);
}

.s474-info-card h3 {
    font-size: 1.5rem;
    color: var(--s474-primary);
    margin-bottom: 1rem;
}

.s474-info-card p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--s474-text-light);
}

.s474-info-card ul {
    list-style: none;
    margin-top: 1rem;
}

.s474-info-card li {
    padding: 0.5rem 0;
    font-size: 1.2rem;
    color: var(--s474-text-light);
}

.s474-info-card li::before {
    content: ">";
    color: var(--s474-primary);
    margin-right: 0.8rem;
}

/* Footer */
.s474-footer {
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.95) 0%, var(--s474-bg-dark) 100%);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.s474-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.s474-footer-link {
    font-size: 1.2rem;
    color: var(--s474-text-light);
    padding: 0.5rem 1rem;
    background: rgba(147, 112, 219, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.s474-footer-link:hover {
    background: var(--s474-primary);
    color: var(--s474-text-dark);
}

.s474-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.s474-partners img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.s474-partners img:hover {
    opacity: 1;
}

.s474-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 250, 205, 0.6);
    margin-top: 1.5rem;
}

/* Bottom Navigation */
.s474-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.98) 0%, var(--s474-bg-dark) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(204, 153, 255, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .s474-bottom-nav {
        display: none;
    }
}

.s474-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: none;
}

.s474-nav-btn:hover,
.s474-nav-btn:active {
    background: rgba(204, 153, 255, 0.2);
}

.s474-nav-btn i,
.s474-nav-btn .material-icons-outlined {
    font-size: 24px;
    color: var(--s474-primary);
    margin-bottom: 2px;
}

.s474-nav-btn span {
    font-size: 10px;
    color: var(--s474-text-light);
}

.s474-nav-btn.active {
    background: rgba(204, 153, 255, 0.3);
}

.s474-nav-btn.active i,
.s474-nav-btn.active .material-icons-outlined {
    color: var(--s474-text-light);
}

/* Promo Link Styles */
.s474-promo-text {
    color: var(--s474-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.s474-promo-text:hover {
    color: var(--s474-text-light);
    text-decoration: underline;
}

.s474-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--s474-gradient);
    color: var(--s474-text-light);
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--s474-shadow);
    text-align: center;
    margin: 1rem 0;
}

.s474-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 153, 255, 0.5);
}

/* RTP Section */
.s474-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.s474-rtp-item {
    background: rgba(147, 112, 219, 0.15);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.s474-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s474-primary);
}

.s474-rtp-label {
    font-size: 1.1rem;
    color: var(--s474-text-light);
    margin-top: 0.3rem;
}

/* Features Grid */
.s474-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.s474-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(123, 104, 238, 0.15);
    border-radius: 8px;
}

.s474-feature-item i {
    font-size: 2rem;
    color: var(--s474-primary);
}

.s474-feature-text {
    font-size: 1.2rem;
    color: var(--s474-text-light);
}

/* FAQ Accordion */
.s474-faq-item {
    background: rgba(147, 112, 219, 0.1);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.s474-faq-question {
    padding: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--s474-primary);
    cursor: pointer;
}

.s474-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.2rem;
    color: var(--s474-text-light);
    line-height: 1.6;
}

/* Utilities */
.s474-text-center {
    text-align: center;
}

.s474-mb-1 {
    margin-bottom: 1rem;
}

.s474-mb-2 {
    margin-bottom: 2rem;
}

.s474-mt-2 {
    margin-top: 2rem;
}

/* Internal Links */
.s474-internal-link {
    color: var(--s474-secondary);
    text-decoration: underline;
    font-weight: 500;
}

.s474-internal-link:hover {
    color: var(--s474-primary);
}
