/**
 * Spin 888 Casino - Main Stylesheet
 * Class prefix: sea5-
 * Colors: #1C2833 (bg), #48D1CC, #00CED1 (accents)
 */

/* CSS Variables */
:root {
    --sea5-primary: #00CED1;
    --sea5-secondary: #48D1CC;
    --sea5-bg: #1C2833;
    --sea5-bg-dark: #0D1117;
    --sea5-bg-card: #243447;
    --sea5-text: #FFFFFF;
    --sea5-text-muted: #A0AEC0;
    --sea5-accent: #FFD700;
    --sea5-success: #48BB78;
    --sea5-danger: #F56565;
    --sea5-gradient: linear-gradient(135deg, #48D1CC 0%, #00CED1 100%);
    --sea5-shadow: 0 4px 20px rgba(0, 206, 209, 0.3);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--sea5-bg);
    color: var(--sea5-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

/* Container */
.sea5-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.sea5-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--sea5-bg-dark) 0%, var(--sea5-bg) 100%);
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(72, 209, 204, 0.2);
    transition: all 0.3s ease;
}

.sea5-header-scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
}

.sea5-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.sea5-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.sea5-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.sea5-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sea5-text);
    background: var(--sea5-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sea5-header-btns {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.sea5-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sea5-btn-primary {
    background: var(--sea5-gradient);
    color: var(--sea5-bg-dark);
}

.sea5-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--sea5-shadow);
}

.sea5-btn-outline {
    background: transparent;
    color: var(--sea5-primary);
    border: 2px solid var(--sea5-primary);
}

.sea5-btn-outline:hover {
    background: var(--sea5-primary);
    color: var(--sea5-bg-dark);
}

.sea5-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--sea5-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.sea5-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--sea5-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.sea5-menu-active {
    right: 0;
}

.sea5-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sea5-overlay-active {
    opacity: 1;
    visibility: visible;
}

.sea5-nav-list {
    list-style: none;
}

.sea5-nav-item {
    margin-bottom: 0.5rem;
}

.sea5-nav-link {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--sea5-text);
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sea5-nav-link:hover {
    background: rgba(72, 209, 204, 0.15);
    color: var(--sea5-primary);
}

/* Carousel */
.sea5-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.sea5-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sea5-slide-active {
    opacity: 1;
}

.sea5-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Main Content */
.sea5-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .sea5-main {
        padding-bottom: 90px;
    }
}

/* Section Titles */
.sea5-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sea5-text);
    margin-bottom: 1.2rem;
    padding-left: 0.8rem;
    border-left: 3px solid var(--sea5-primary);
}

/* Game Grid */
.sea5-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.sea5-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--sea5-bg-card);
    border-radius: 10px;
    padding: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sea5-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sea5-shadow);
}

.sea5-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.4rem;
}

.sea5-game-name {
    font-size: 1rem;
    color: var(--sea5-text);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Content Sections */
.sea5-content-section {
    background: var(--sea5-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sea5-content-section h2 {
    font-size: 1.6rem;
    color: var(--sea5-primary);
    margin-bottom: 1rem;
}

.sea5-content-section p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--sea5-text-muted);
    margin-bottom: 1rem;
}

.sea5-content-section a {
    color: var(--sea5-primary);
    text-decoration: none;
    font-weight: 600;
}

.sea5-content-section a:hover {
    text-decoration: underline;
}

/* Features List */
.sea5-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sea5-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(72, 209, 204, 0.1);
    border-radius: 8px;
}

.sea5-feature-icon {
    font-size: 2rem;
    color: var(--sea5-primary);
}

.sea5-feature-text {
    font-size: 1.2rem;
    color: var(--sea5-text);
}

/* Footer */
.sea5-footer {
    background: var(--sea5-bg-dark);
    padding: 2rem 1rem;
    border-top: 1px solid rgba(72, 209, 204, 0.2);
}

.sea5-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.sea5-footer-link {
    color: var(--sea5-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    transition: color 0.3s ease;
}

.sea5-footer-link:hover {
    color: var(--sea5-primary);
}

.sea5-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.sea5-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sea5-partner-logo:hover {
    opacity: 1;
}

.sea5-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--sea5-text-muted);
}

/* Mobile Bottom Navigation */
.sea5-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--sea5-bg) 0%, var(--sea5-bg-dark) 100%);
    border-top: 1px solid rgba(72, 209, 204, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .sea5-bottom-nav {
        display: none;
    }
}

.sea5-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sea5-nav-btn:hover,
.sea5-nav-btn.active {
    transform: scale(1.1);
}

.sea5-nav-btn i,
.sea5-nav-btn span.material-icons-outlined {
    font-size: 22px;
    color: var(--sea5-text-muted);
    transition: color 0.3s ease;
}

.sea5-nav-btn:hover i,
.sea5-nav-btn:hover span.material-icons-outlined,
.sea5-nav-btn.active i,
.sea5-nav-btn.active span.material-icons-outlined {
    color: var(--sea5-primary);
}

.sea5-nav-btn-text {
    font-size: 1rem;
    color: var(--sea5-text-muted);
    margin-top: 0.2rem;
    transition: color 0.3s ease;
}

.sea5-nav-btn:hover .sea5-nav-btn-text,
.sea5-nav-btn.active .sea5-nav-btn-text {
    color: var(--sea5-primary);
}

/* RTP Section */
.sea5-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.sea5-rtp-item {
    background: rgba(72, 209, 204, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.sea5-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sea5-primary);
}

.sea5-rtp-label {
    font-size: 1.1rem;
    color: var(--sea5-text-muted);
}

/* Promotional Links */
.sea5-promo-link {
    display: inline-block;
    color: var(--sea5-primary);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sea5-promo-link:hover {
    color: var(--sea5-secondary);
    text-decoration: underline;
}

.sea5-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: var(--sea5-gradient);
    color: var(--sea5-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sea5-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--sea5-shadow);
}

/* FAQ Section */
.sea5-faq-item {
    background: var(--sea5-bg-card);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.sea5-faq-question {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--sea5-text);
    cursor: pointer;
}

.sea5-faq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 1.2rem;
    color: var(--sea5-text-muted);
    line-height: 1.6;
}

/* Utility Classes */
.sea5-text-center {
    text-align: center;
}

.sea5-mb-1 {
    margin-bottom: 1rem;
}

.sea5-mb-2 {
    margin-bottom: 2rem;
}

.sea5-mt-1 {
    margin-top: 1rem;
}

.sea5-mt-2 {
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 360px) {
    .sea5-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sea5-section-title {
        font-size: 1.6rem;
    }
}

@media (min-width: 769px) {
    .sea5-container {
        max-width: 430px;
    }

    .sea5-menu-toggle {
        display: block;
    }
}
