/**
 * Gperya App - Core Stylesheet
 * Version: 1.0.0
 * Prefix: s0cf-
 * Colors: #FF69B4 (Primary), #2D2D2D (Background)
 */

/* CSS Variables */
:root {
    --s0cf-primary: #FF69B4;
    --s0cf-primary-dark: #E7579F;
    --s0cf-primary-light: #FF8DC7;
    --s0cf-bg: #2D2D2D;
    --s0cf-bg-dark: #1A1A1A;
    --s0cf-bg-light: #3D3D3D;
    --s0cf-text: #FFFFFF;
    --s0cf-text-muted: #B0B0B0;
    --s0cf-accent: #FFD700;
    --s0cf-success: #4CAF50;
    --s0cf-danger: #F44336;
    --s0cf-gradient: linear-gradient(135deg, #FF69B4 0%, #FF8DC7 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--s0cf-bg);
    color: var(--s0cf-text);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.s0cf-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.s0cf-wrapper {
    padding-top: 7rem;
    padding-bottom: 8rem;
}

@media (min-width: 769px) {
    .s0cf-wrapper {
        padding-bottom: 2rem;
    }
}

/* Header */
.s0cf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--s0cf-bg-dark);
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.s0cf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.s0cf-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s0cf-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.s0cf-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--s0cf-primary);
}

.s0cf-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s0cf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.s0cf-btn-primary {
    background: var(--s0cf-gradient);
    color: var(--s0cf-bg-dark);
}

.s0cf-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.s0cf-btn-outline {
    background: transparent;
    border: 2px solid var(--s0cf-primary);
    color: var(--s0cf-primary);
}

.s0cf-btn-outline:hover {
    background: var(--s0cf-primary);
    color: var(--s0cf-bg-dark);
}

.s0cf-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

.s0cf-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--s0cf-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.s0cf-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s0cf-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}

.s0cf-menu-active {
    right: 0;
}

.s0cf-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;
}

.s0cf-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s0cf-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.4rem;
    color: var(--s0cf-text);
    cursor: pointer;
    background: none;
    border: none;
}

.s0cf-menu-list {
    list-style: none;
}

.s0cf-menu-item {
    margin-bottom: 0.5rem;
}

.s0cf-menu-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--s0cf-text);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.s0cf-menu-link:hover {
    background: var(--s0cf-bg-light);
    color: var(--s0cf-primary);
}

/* Carousel */
.s0cf-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.s0cf-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.s0cf-slide-active {
    opacity: 1;
}

.s0cf-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.s0cf-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--s0cf-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s0cf-section-title i {
    font-size: 2.2rem;
}

/* Game Grid */
.s0cf-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.s0cf-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: var(--s0cf-bg-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s0cf-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.s0cf-game-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.s0cf-game-name {
    font-size: 1rem;
    color: var(--s0cf-text);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Category Section */
.s0cf-category-section {
    margin-bottom: 2.5rem;
}

.s0cf-category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.s0cf-category-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s0cf-primary);
    border-radius: 8px;
    font-size: 1.6rem;
}

.s0cf-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s0cf-text);
}

/* Content Section */
.s0cf-content-section {
    background: var(--s0cf-bg-light);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 2rem;
}

.s0cf-content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s0cf-primary);
    margin-bottom: 1.2rem;
}

.s0cf-content-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--s0cf-text-muted);
    margin-bottom: 1rem;
}

.s0cf-content-text:last-child {
    margin-bottom: 0;
}

.s0cf-content-text strong {
    color: var(--s0cf-primary);
}

/* Promo Link */
.s0cf-promo-link {
    color: var(--s0cf-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.s0cf-promo-link:hover {
    color: var(--s0cf-primary-light);
    text-decoration: underline;
}

.s0cf-promo-btn {
    display: inline-block;
    background: var(--s0cf-gradient);
    color: var(--s0cf-bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.s0cf-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5);
}

/* Features List */
.s0cf-features-list {
    display: grid;
    gap: 1rem;
}

.s0cf-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 105, 180, 0.1);
    border-radius: 10px;
}

.s0cf-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s0cf-primary);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.8rem;
}

.s0cf-feature-text h4 {
    font-size: 1.4rem;
    color: var(--s0cf-text);
    margin-bottom: 0.3rem;
}

.s0cf-feature-text p {
    font-size: 1.2rem;
    color: var(--s0cf-text-muted);
}

/* Footer */
.s0cf-footer {
    background: var(--s0cf-bg-dark);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.s0cf-footer-inner {
    max-width: 430px;
    margin: 0 auto;
}

.s0cf-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s0cf-footer-link {
    font-size: 1.2rem;
    color: var(--s0cf-text-muted);
    transition: color 0.3s ease;
}

.s0cf-footer-link:hover {
    color: var(--s0cf-primary);
}

.s0cf-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.s0cf-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s0cf-partner-logo:hover {
    opacity: 1;
}

.s0cf-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s0cf-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--s0cf-bg-light);
}

/* Bottom Navigation (Mobile Only) */
.s0cf-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--s0cf-bg-dark);
    border-top: 1px solid var(--s0cf-bg-light);
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    height: 64px;
}

@media (min-width: 769px) {
    .s0cf-bottom-nav {
        display: none;
    }
}

.s0cf-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.s0cf-nav-item:hover {
    transform: scale(1.1);
}

.s0cf-nav-item i,
.s0cf-nav-item .material-icons {
    font-size: 22px;
    color: var(--s0cf-text-muted);
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.s0cf-nav-item span {
    font-size: 10px;
    color: var(--s0cf-text-muted);
    transition: color 0.3s ease;
}

.s0cf-nav-item:hover i,
.s0cf-nav-item:hover .material-icons,
.s0cf-nav-item:hover span {
    color: var(--s0cf-primary);
}

.s0cf-nav-item.active i,
.s0cf-nav-item.active .material-icons,
.s0cf-nav-item.active span {
    color: var(--s0cf-primary);
}

/* RTP Table */
.s0cf-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.s0cf-rtp-table th,
.s0cf-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--s0cf-bg);
}

.s0cf-rtp-table th {
    background: var(--s0cf-primary);
    color: var(--s0cf-bg-dark);
    font-weight: 600;
}

.s0cf-rtp-table td {
    background: var(--s0cf-bg-light);
    color: var(--s0cf-text);
}

/* FAQ Section */
.s0cf-faq-item {
    background: var(--s0cf-bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.s0cf-faq-question {
    padding: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s0cf-text);
    cursor: pointer;
}

.s0cf-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.3rem;
    color: var(--s0cf-text-muted);
    line-height: 1.5;
}

/* Achievements */
.s0cf-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.2), rgba(255, 215, 0, 0.1));
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.s0cf-achievement-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s0cf-accent);
    border-radius: 50%;
    font-size: 2rem;
}

.s0cf-achievement-info h4 {
    font-size: 1.3rem;
    color: var(--s0cf-text);
    margin-bottom: 0.2rem;
}

.s0cf-achievement-info p {
    font-size: 1.1rem;
    color: var(--s0cf-text-muted);
}

/* Tricks Section */
.s0cf-trick-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--s0cf-bg-light);
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.s0cf-trick-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s0cf-primary);
    color: var(--s0cf-bg-dark);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.s0cf-trick-text {
    font-size: 1.3rem;
    color: var(--s0cf-text);
    line-height: 1.5;
}

/* Utility Classes */
.s0cf-text-center {
    text-align: center;
}

.s0cf-mt-2 {
    margin-top: 2rem;
}

.s0cf-mb-2 {
    margin-bottom: 2rem;
}

.s0cf-hidden-desktop {
    display: block;
}

@media (min-width: 769px) {
    .s0cf-hidden-desktop {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .s0cf-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .s0cf-game-icon {
        width: 45px;
        height: 45px;
    }
}
