/**
 * NuStar Casino App - Main Stylesheet
 * File: css/design-c612.css
 * Prefix: sc61-
 * Mobile-first design, max-width: 430px
 */

/* CSS Reset and Variables */
:root {
    --sc61-primary: #FF5722;
    --sc61-secondary: #FFAA00;
    --sc61-accent: #FFB347;
    --sc61-bg: #0A0A0A;
    --sc61-bg-light: #1a1a1a;
    --sc61-text: #ffffff;
    --sc61-text-muted: #b0b0b0;
    --sc61-highlight: #AFEEEE;
    --sc61-success: #4CAF50;
    --sc61-gradient: linear-gradient(135deg, #FF5722, #FFAA00);
    --sc61-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    --sc61-radius: 8px;
    --sc61-radius-lg: 16px;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--sc61-bg);
    color: var(--sc61-text);
    line-height: 1.5;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }

p {
    margin-bottom: 1rem;
    color: var(--sc61-text-muted);
}

a {
    color: var(--sc61-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sc61-secondary);
}

/* Container */
.sc61-container {
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.sc61-wrapper {
    max-width: 430px;
    margin: 0 auto;
}

/* Header */
.sc61-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--sc61-bg);
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 87, 34, 0.2);
    max-width: 430px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.sc61-header-scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--sc61-shadow);
}

.sc61-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sc61-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.sc61-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sc61-primary);
}

.sc61-header-actions {
    display: flex;
    gap: 0.8rem;
}

.sc61-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--sc61-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.sc61-btn-primary {
    background: var(--sc61-gradient);
    color: var(--sc61-text);
    box-shadow: var(--sc61-shadow);
}

.sc61-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.sc61-btn-secondary {
    background: transparent;
    color: var(--sc61-primary);
    border: 2px solid var(--sc61-primary);
}

.sc61-btn-secondary:hover {
    background: var(--sc61-primary);
    color: var(--sc61-text);
}

.sc61-menu-btn {
    background: none;
    border: none;
    color: var(--sc61-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.sc61-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--sc61-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.sc61-menu-active {
    right: 0;
}

.sc61-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sc61-overlay-active {
    opacity: 1;
    visibility: visible;
}

.sc61-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sc61-menu-close {
    background: none;
    border: none;
    color: var(--sc61-text);
    font-size: 2rem;
    cursor: pointer;
}

.sc61-menu-nav {
    list-style: none;
}

.sc61-menu-nav li {
    margin-bottom: 1rem;
}

.sc61-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--sc61-text);
    font-size: 1.4rem;
    border-radius: var(--sc61-radius);
    transition: all 0.3s ease;
}

.sc61-menu-nav a:hover {
    background: rgba(255, 87, 34, 0.2);
    color: var(--sc61-primary);
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.sc61-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sc61-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.sc61-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Game Sections */
.sc61-section {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
}

.sc61-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sc61-primary);
}

.sc61-section-title i {
    color: var(--sc61-primary);
    font-size: 2rem;
}

.sc61-section-title h2 {
    color: var(--sc61-text);
    font-size: 1.8rem;
    margin: 0;
}

/* Game Grid */
.sc61-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sc61-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sc61-game-card:hover {
    transform: scale(1.05);
}

.sc61-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--sc61-radius);
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.sc61-game-card:hover .sc61-game-icon {
    border-color: var(--sc61-primary);
}

.sc61-game-name {
    font-size: 1.1rem;
    color: var(--sc61-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Cards */
.sc61-info-card {
    background: var(--sc61-bg-light);
    border-radius: var(--sc61-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--sc61-primary);
}

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

.sc61-info-card p {
    color: var(--sc61-text-muted);
    line-height: 1.6;
}

/* Feature List */
.sc61-feature-list {
    list-style: none;
    padding: 0;
}

.sc61-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sc61-feature-list li:last-child {
    border-bottom: none;
}

.sc61-feature-list i {
    color: var(--sc61-success);
    font-size: 1.6rem;
    margin-top: 0.2rem;
}

/* CTA Section */
.sc61-cta {
    background: var(--sc61-gradient);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--sc61-radius-lg);
    margin: 2rem 1.5rem;
}

.sc61-cta h3 {
    color: var(--sc61-text);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.sc61-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.sc61-cta-btn {
    display: inline-block;
    background: var(--sc61-text);
    color: var(--sc61-primary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sc61-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.sc61-footer {
    background: var(--sc61-bg-light);
    padding: 2rem 1.5rem 8rem;
    border-top: 1px solid rgba(255, 87, 34, 0.2);
}

.sc61-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.sc61-footer-brand p {
    font-size: 1.3rem;
    line-height: 1.6;
}

.sc61-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sc61-footer-links a {
    color: var(--sc61-text-muted);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--sc61-radius);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.sc61-footer-links a:hover {
    color: var(--sc61-primary);
    background: rgba(255, 87, 34, 0.2);
}

.sc61-footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sc61-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--sc61-text-muted);
}

/* Bottom Navigation */
.sc61-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--sc61-bg-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    border-top: 1px solid rgba(255, 87, 34, 0.3);
    max-width: 430px;
    margin: 0 auto;
}

.sc61-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;
}

.sc61-nav-item:hover {
    background: rgba(255, 87, 34, 0.2);
}

.sc61-nav-item.active {
    color: var(--sc61-primary);
}

.sc61-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.sc61-nav-item span {
    font-size: 10px;
    color: var(--sc61-text-muted);
}

.sc61-nav-item:hover i,
.sc61-nav-item:hover span,
.sc61-nav-item.active i,
.sc61-nav-item.active span {
    color: var(--sc61-primary);
}

/* RTP Stats */
.sc61-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sc61-rtp-item {
    background: var(--sc61-bg-light);
    padding: 1.5rem;
    border-radius: var(--sc61-radius);
    text-align: center;
}

.sc61-rtp-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--sc61-success);
    margin-bottom: 0.5rem;
}

.sc61-rtp-label {
    font-size: 1.2rem;
    color: var(--sc61-text-muted);
}

/* Testimonials */
.sc61-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sc61-testimonial {
    background: var(--sc61-bg-light);
    padding: 1.5rem;
    border-radius: var(--sc61-radius);
    border-left: 3px solid var(--sc61-primary);
}

.sc61-testimonial-author {
    font-weight: 600;
    color: var(--sc61-text);
    margin-bottom: 0.5rem;
}

.sc61-testimonial-text {
    font-size: 1.3rem;
    color: var(--sc61-text-muted);
    font-style: italic;
}

/* Payment Methods */
.sc61-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.sc61-payment-item {
    background: var(--sc61-bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--sc61-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sc61-payment-item i {
    color: var(--sc61-highlight);
    font-size: 1.8rem;
}

/* Winners Section */
.sc61-winners-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sc61-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--sc61-bg-light);
    border-radius: var(--sc61-radius);
}

.sc61-winner-game {
    font-weight: 600;
    color: var(--sc61-text);
}

.sc61-winner-amount {
    color: var(--sc61-success);
    font-weight: 700;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .sc61-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 2rem;
    }

    .sc61-footer {
        padding-bottom: 2rem;
    }
}

/* Utility Classes */
.sc61-text-center { text-align: center; }
.sc61-text-primary { color: var(--sc61-primary); }
.sc61-text-highlight { color: var(--sc61-highlight); }
.sc61-mb-1 { margin-bottom: 1rem; }
.sc61-mb-2 { margin-bottom: 2rem; }
.sc61-mt-1 { margin-top: 1rem; }
.sc61-mt-2 { margin-top: 2rem; }
