/**
 * Nust Layout Stylesheet
 * Website: nust.click
 * All classes use 'seeb-' prefix for namespace isolation
 * Color Palette: #FDF5E6 | #D2B48C | #CD853F | #DCDCDC | #2C2C2C
 */

/* CSS Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --seeb-primary: #CD853F;
    --seeb-secondary: #D2B48C;
    --seeb-accent: #FDF5E6;
    --seeb-bg-dark: #2C2C2C;
    --seeb-bg-light: #FDF5E6;
    --seeb-text-light: #FDF5E6;
    --seeb-text-dark: #2C2C2C;
    --seeb-gray: #DCDCDC;
    --seeb-gold: #CD853F;
    --seeb-cream: #D2B48C;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--seeb-bg-dark);
    color: var(--seeb-text-light);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.seeb-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.seeb-wrapper {
    padding: 1.6rem;
}

/* Header */
.seeb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--seeb-bg-dark) 0%, #1a1a1a 100%);
    border-bottom: 2px solid var(--seeb-primary);
    padding: 1rem 1.6rem;
}

.seeb-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.seeb-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.seeb-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.seeb-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--seeb-gold);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.seeb-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.seeb-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.seeb-btn-primary {
    background: linear-gradient(135deg, var(--seeb-primary) 0%, var(--seeb-cream) 100%);
    color: var(--seeb-text-dark);
}

.seeb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.4);
}

.seeb-btn-secondary {
    background: transparent;
    border: 2px solid var(--seeb-primary);
    color: var(--seeb-gold);
}

.seeb-btn-secondary:hover {
    background: var(--seeb-primary);
    color: var(--seeb-text-dark);
}

.seeb-menu-btn {
    background: none;
    border: none;
    color: var(--seeb-gold);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.seeb-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--seeb-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 2px solid var(--seeb-primary);
}

.seeb-menu-active {
    right: 0;
}

.seeb-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;
}

.seeb-overlay-active {
    opacity: 1;
    visibility: visible;
}

.seeb-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--seeb-gold);
    font-size: 2.4rem;
    cursor: pointer;
}

.seeb-menu-links {
    margin-top: 4rem;
    list-style: none;
}

.seeb-menu-links li {
    margin-bottom: 1.6rem;
}

.seeb-menu-links a {
    display: block;
    padding: 1rem 1.6rem;
    color: var(--seeb-text-light);
    font-size: 1.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.seeb-menu-links a:hover {
    background: var(--seeb-primary);
    color: var(--seeb-text-dark);
}

/* Main Content */
.seeb-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel/Slider */
.seeb-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.seeb-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.seeb-slide-active {
    opacity: 1;
}

.seeb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.seeb-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--seeb-gold);
    margin-bottom: 1.6rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--seeb-primary);
}

.seeb-subtitle {
    font-size: 1.8rem;
    color: var(--seeb-cream);
    margin-bottom: 1.2rem;
}

/* Game Grid */
.seeb-game-section {
    margin-bottom: 3rem;
}

.seeb-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.seeb-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0.8rem;
    background: rgba(253, 245, 230, 0.05);
    border-radius: 8px;
}

.seeb-game-card:hover {
    transform: translateY(-4px);
    background: rgba(253, 245, 230, 0.1);
}

.seeb-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin: 0 auto 0.6rem;
    object-fit: cover;
    border: 2px solid var(--seeb-primary);
}

.seeb-game-name {
    font-size: 1.1rem;
    color: var(--seeb-text-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info Cards */
.seeb-info-card {
    background: linear-gradient(135deg, rgba(205, 133, 63, 0.1) 0%, rgba(210, 180, 140, 0.05) 100%);
    border: 1px solid var(--seeb-primary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.seeb-info-card h3 {
    color: var(--seeb-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.seeb-info-card p {
    color: var(--seeb-gray);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.seeb-info-card p:last-child {
    margin-bottom: 0;
}

/* Features List */
.seeb-features {
    display: grid;
    gap: 1.2rem;
}

.seeb-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(253, 245, 230, 0.03);
    border-radius: 8px;
}

.seeb-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--seeb-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.seeb-feature-icon i {
    font-size: 2rem;
    color: var(--seeb-text-dark);
}

.seeb-feature-text h4 {
    color: var(--seeb-gold);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.seeb-feature-text p {
    color: var(--seeb-gray);
    font-size: 1.2rem;
}

/* Promo Link */
.seeb-promo-link {
    color: var(--seeb-gold);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.seeb-promo-link:hover {
    color: var(--seeb-cream);
    text-decoration: underline;
}

.seeb-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--seeb-primary) 0%, #b87333 100%);
    color: var(--seeb-text-light);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.seeb-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.5);
}

/* Footer */
.seeb-footer {
    background: linear-gradient(180deg, var(--seeb-bg-dark) 0%, #1a1a1a 100%);
    border-top: 2px solid var(--seeb-primary);
    padding: 2rem 1.6rem;
}

.seeb-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.seeb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.seeb-footer-links a {
    color: var(--seeb-gray);
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.seeb-footer-links a:hover {
    background: var(--seeb-primary);
    color: var(--seeb-text-dark);
}

.seeb-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.seeb-partners img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.seeb-partners img:hover {
    opacity: 1;
}

.seeb-copyright {
    text-align: center;
    color: var(--seeb-gray);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.seeb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, #1a1a1a 0%, var(--seeb-bg-dark) 100%);
    border-top: 2px solid var(--seeb-primary);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
}

.seeb-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.seeb-nav-item:hover {
    background: rgba(205, 133, 63, 0.2);
}

.seeb-nav-item i {
    font-size: 24px;
    color: var(--seeb-gray);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.seeb-nav-item span {
    font-size: 10px;
    color: var(--seeb-gray);
    transition: color 0.3s ease;
}

.seeb-nav-item:hover i,
.seeb-nav-item:hover span {
    color: var(--seeb-gold);
}

.seeb-nav-item.seeb-nav-active i,
.seeb-nav-item.seeb-nav-active span {
    color: var(--seeb-gold);
}

/* FAQ Section */
.seeb-faq-item {
    border: 1px solid var(--seeb-primary);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.seeb-faq-question {
    padding: 1.2rem 1.6rem;
    background: rgba(205, 133, 63, 0.1);
    color: var(--seeb-gold);
    font-weight: 600;
    cursor: pointer;
}

.seeb-faq-answer {
    padding: 1.2rem 1.6rem;
    color: var(--seeb-gray);
    font-size: 1.4rem;
}

/* Stats Box */
.seeb-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.seeb-stat-box {
    background: rgba(205, 133, 63, 0.1);
    border: 1px solid var(--seeb-primary);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
}

.seeb-stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--seeb-gold);
}

.seeb-stat-label {
    font-size: 1.2rem;
    color: var(--seeb-gray);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .seeb-bottom-nav {
        display: none;
    }

    .seeb-main {
        padding-bottom: 2rem;
    }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .seeb-container {
        padding: 0 1.2rem;
    }

    .seeb-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .seeb-game-icon {
        width: 55px;
        height: 55px;
    }

    .seeb-game-name {
        font-size: 1rem;
    }
}

/* Utility Classes */
.seeb-text-center { text-align: center; }
.seeb-text-gold { color: var(--seeb-gold); }
.seeb-text-cream { color: var(--seeb-cream); }
.seeb-text-gray { color: var(--seeb-gray); }
.seeb-mb-1 { margin-bottom: 1rem; }
.seeb-mb-2 { margin-bottom: 2rem; }
.seeb-mb-3 { margin-bottom: 3rem; }
.seeb-mt-1 { margin-top: 1rem; }
.seeb-mt-2 { margin-top: 2rem; }
.seeb-hidden { display: none; }
