/*
Theme Name: SkyCrown Casino
Theme URI: https://skycrown.com
Author: SkyCrown
Author URI: https://skycrown.com
Description: A modern casino WordPress theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sc-crown
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter;
    background-color: #0d0d0f;
    color: #fcfcfc;
    -webkit-font-smoothing: antialiased;
}

/* Mobile Tabs */
.mobile-tabs {
    display: none;
    background-color: #0d0d0f;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 14px;
}

.mobile-tabs-inner {
    display: flex;
    gap: 8px;
}

.mobile-tab {
    flex: 1;
    background-color: #1c1b24;
    color: #9293a3;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.mobile-tab.active {
    background: linear-gradient(180deg, #cf106c 0%, #b50d5f 100%);
    color: #fcfcfc;
}

@media (max-width: 768px) {
    .mobile-tabs {
        display: block;
    }
}

/* Header Styles */
.site-header {
    background-color: #0d0d0f;
    height: 60px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

@media (max-width: 768px) {
    .site-header {
        display: none;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 28px;
    width: auto;
}

/* Navigation */
.top-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
}

.top-menu__item {
    list-style: none;
}

.top-menu__link {
    color: #fcfcfc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    display: block;
}

.top-menu__link:hover {
    opacity: 0.8;
}

.top-menu__link--wheel {
    background: linear-gradient(93deg, #1c1c24 2.36%, #182047 77.67%);
    border-radius: 12px;
    color: #fcfcfc;
    padding: 10px 52px 7px 8px;
    position: relative;
}

.top-menu__link--wheel:before {
    background: url(assets/wheel.webp) no-repeat 50% / cover;
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    border-radius: 0 12px 12px 0;
}

/* Header Right Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-action {
    background-color: #1c1b24;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fcfcfc;
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
}

.header-action:hover {
    opacity: 0.8;
}

.header-action--search svg,
.header-action--language img {
    width: 20px;
    height: 20px;
}

.header-action--login {
    width: auto;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
}

.header-action--signup {
    background: linear-gradient(180deg, #cf106c 0%, #b50d5f 100%);
    width: auto;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Main Content */
.site-main {
    margin-top: 60px;
}

@media (max-width: 768px) {
    .site-main {
        margin-top: 52px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 408px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 80px 0 40px;
    }
}

.entry-preview__bg-img {
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.entry-preview__bg-img-mobile {
    display: none;
}

@media (max-width: 768px) {
    .entry-preview__bg-img {
        display: none;
    }
    
    .entry-preview__bg-img-mobile {
        display: block;
        height: 100%;
        left: 0;
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 872px;
    width: 100%;
    padding: 60px 0px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 20px 14px;
        text-align: center;
    }
}

.hero-subtitle {
    font-family: Inter;
    font-size: 16px;
    color: #0cb7ff;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-mobile-image {
    display: none;
}

@media (max-width: 768px) {
    .hero-mobile-image {
        display: block;
        margin: 0 auto 20px;
        max-width: 200px;
    }
    
    .hero-mobile-image img {
        width: 100%;
        height: auto;
    }
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 768px) {
    .hero-title-wrapper {
        flex-direction: column;
        gap: 0;
    }
}

.hero-title {
    font-family: Inter;
    font-size: 88px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -.9px;
    line-height: .84;
    color: #fcfcfc;
    margin: 0;
    flex: 0 0 calc(80% - 30px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        line-height: 1.1;
        letter-spacing: -0.3px;
    }
}

.hero-icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-icon {
        display: none;
    }
}

.hero-icon img {
    height: auto;
    width: 100%;
    max-width: 180px;
    display: block;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
}

.hero-btn {
    color: #fcfcfc;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
    background: linear-gradient(180deg, #e30077 -63.54%, #9d0052 173.96%) padding-box, padding-box, conic-gradient(from var(--bg-angle), #760a2c 0, #760a2c 15%, #ffa945 25%, #760a2c 35%, #760a2c 65%, #ffa945 75%, #760a2c 85%, #760a2c 100%) border-box;
    border: 2px solid transparent;
    animation: spin-gradient-border 3.5s linear infinite;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

@keyframes spin-gradient-border {
    0% {
        --bg-angle: 0deg;
    }
    100% {
        --bg-angle: 360deg;
    }
}

@property --bg-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.hero-payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-payment-methods {
        justify-content: center;
    }
}

.hero-payment-methods img {
    height: 24px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-payment-methods img:hover {
    opacity: 1;
}

/* Stats Section */
.stats-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.stat-box {
    background-color: #1c1b24;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

.stat-value {
    color: #e9eaf4;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.stat-label {
    color: #9293a3;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01px;
    line-height: 1.4;
}

/* Game Sections */
.game-section {

    margin: 0 auto;
    padding: 40px 14px;
}

@media (min-width: 1248px) {
    .game-section {
        width: 1248px;
        padding: 40px 56px 24px;
    }
}

@media (min-width: 1632px) {
    .game-section {
        width: 1632px;
        padding: 40px 62px 62px;
    }
}

.game-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.game-section-title {
    color: #e9eaf4;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.game-section-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .game-section-controls {
        display: none;
    }
}

.game-see-all {
    background-color: #1c1c24;
    color: #c1c3d6;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.game-see-all:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .game-see-all {
        display: none;
    }
}

.game-nav {
    background-color: #1c1c24;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .game-nav {
        display: none;
    }
}

.game-nav-btn {
    background: none;
    border: none;
    color: #c1c3d6;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.game-nav-btn:hover:not(:disabled) {
    opacity: 0.7;
}

.game-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.game-nav-btn svg {
    width: 20px;
    height: 20px;
}

.game-slider-wrapper {
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .game-slider-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.game-slider {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
}

@media (max-width: 768px) {
    .game-slider {
        transform: none !important;
    }
}

.game-item {
    flex: 0 0 calc((100% - (6 * 16px)) / 7.5);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

@media (max-width: 768px) {
    .game-item {
        flex: 0 0 calc((100% - (1.5 * 16px)) / 2.5);
    }
}

.game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('assets/play-button.webp') no-repeat center / contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.game-item:hover::before,
.game-item:hover::after {
    opacity: 1;
}

.game-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Payment Section */
.payment-section {
    margin: 0 auto;
    padding: 40px 14px;
}

@media (min-width: 1248px) {
    .payment-section {
        width: 1248px;
        padding: 40px 56px 24px;
    }
}

@media (min-width: 1632px) {
    .payment-section {
        width: 1632px;
        padding: 40px 62px 62px;
    }
}

.payment-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.payment-section-title {
    color: #e9eaf4;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.payment-slider-wrapper {
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .payment-slider-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.payment-slider {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
}

@media (max-width: 768px) {
    .payment-slider {
        transform: none !important;
    }
}

.payment-item {
    flex: 0 0 calc((100% - (6 * 16px)) / 7.5);
    background-color: #1c1b24;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .payment-item {
        flex: 0 0 calc((100% - (1.5 * 16px)) / 2.5);
    }
}

.payment-item:hover {
    opacity: 0.8;
}

.payment-item img {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
}

/* Page Content */
.page-wrapper,
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 14px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 48px;
    font-weight: 700;
    color: #fcfcfc;
    margin: 0;
}

.entry-content {
    color: #fcfcfc;
    line-height: 1.6;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background-color: #1a1c21;
    padding: 60px 14px 40px;
}

.footer-container {
    margin: 0 auto;
}

@media (min-width: 1248px) {
    .footer-container {
        width: 1248px;
        padding: 0 56px;
    }
}

@media (min-width: 1632px) {
    .footer-container {
        width: 1632px;
        padding: 0 62px;
    }
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-language {
    background-color: #2a2c36;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-language:hover {
    opacity: 0.8;
}

.footer-language img {
    width: 24px;
    height: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 20px;
    }
}

.footer-column h3 {
    color: #e9eaf4;
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #9293a3;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #e9eaf4;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment-logo {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-payment-logo:hover {
    opacity: 1;
}

.footer-badges {
    background-color: #262730;
    border-radius: 12px;
    padding: 20px 30px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-badge-link {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.footer-badge-link:hover {
    opacity: 0.7;
}

.footer-badge-link img {
    height: 36px;
    width: auto;
}

/* Mobile Persistent Footer */
.mobile-persistent-footer {
    display: none;
}

@media (max-width: 768px) {
    .mobile-persistent-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #0d0d0f;
        padding: 12px 16px;
        z-index: 1002;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-footer-left {
        display: flex;
        gap: 8px;
    }
    
    .mobile-footer-signup,
    .mobile-footer-login {
        background-color: #1c1b24;
        color: #fcfcfc;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: opacity 0.3s ease;
    }
    
    .mobile-footer-signup {
        background: linear-gradient(180deg, #cf106c 0%, #b50d5f 100%);
    }
    
    .mobile-footer-signup:hover,
    .mobile-footer-login:hover {
        opacity: 0.8;
    }
    
    .mobile-footer-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mobile-footer-icon {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }
    
    .mobile-hamburger {
        background: transparent;
        border: none;
        width: 30px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        padding: 0;
    }
    
    .mobile-hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #fcfcfc;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-hamburger.active span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }
    
    .mobile-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-hamburger.active span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
    
    /* Add padding to body to account for fixed footer */
    body {
        padding-bottom: 70px;
    }
}

/* Mobile Menu Modal */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-modal {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 85%;
    max-width: 400px;
    background-color: #0c0c10;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-modal.active {
    display: block;
    right: 0;
}

.mobile-menu-content {
    padding: 30px 20px;
}

.mobile-menu-logo {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-menu-logo img {
    height: 28px;
    width: auto;
}

.mobile-menu-offer {
    background: url('assets/bar-modal_offer-banner.webp') no-repeat center / cover;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.offer-subtitle {
    color: #0cb7ff;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

.offer-title {
    color: #fcfcfc;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.mobile-menu-nav {
    margin-bottom: 30px;
}

.mobile-menu-nav .top-menu,
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.mobile-menu-nav .top-menu li,
.mobile-menu-list li {
    margin-bottom: 8px;
    width: 100%;
}

.mobile-menu-nav .top-menu a,
.mobile-menu-nav .top-menu__link,
.mobile-menu-list a {
    display: block;
    color: #e9eaf4 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 14px 16px !important;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.mobile-menu-nav .top-menu a:hover,
.mobile-menu-nav .top-menu__link:hover,
.mobile-menu-list a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Wheel of Fortune special styles in mobile menu */
.mobile-menu-nav .top-menu__link--wheel {
    background: linear-gradient(93deg, #1c1c24 2.36%, #182047 77.67%) !important;
    border-radius: 12px !important;
    padding: 10px 52px 10px 16px !important;
    position: relative !important;
}

.mobile-menu-nav .top-menu__link--wheel:before {
    display: block !important;
    background: url(assets/wheel.webp) no-repeat 50% / cover;
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    border-radius: 0 12px 12px 0;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.mobile-menu-btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    flex: 1;
}

.mobile-menu-btn--login {
    background-color: #1c1b24;
    color: #fcfcfc;
}

.mobile-menu-btn--signup {
    background: linear-gradient(180deg, #cf106c 0%, #b50d5f 100%);
    color: #fcfcfc;
}

.mobile-menu-btn:hover {
    opacity: 0.8;
}

/* Mobile Footer Collapsible */
@media (max-width: 768px) {
    .footer-column {
        background-color: #262730;
        border-radius: 12px;
        padding: 16px 20px;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .footer-column-title {
        cursor: pointer;
        user-select: none;
        position: relative;
        padding-right: 30px;
        margin: 0 !important;
    }
    
    .footer-column-title::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        transition: transform 0.3s ease;
    }
    
    .footer-column.active .footer-column-title::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .footer-column-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .footer-column.active .footer-column-content {
        max-height: 500px;
        margin-top: 16px;
    }
    
    .footer-column ul li {
        margin-bottom: 14px;
    }
}

/* Page Content Section */
.page-content-section {
    margin: 0 auto;
    padding: 60px 14px;
}

@media (min-width: 1248px) {
    .page-content-section {
        width: 1248px;
        padding: 60px 56px;
    }
}

@media (min-width: 1632px) {
    .page-content-section {
        width: 1632px;
        padding: 60px 62px;
    }
}

.page-content-section h2 {
    color: #e9eaf4;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.page-content-section p {
    color: #9293a3;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

