/**
 * 777 Slots - Design CSS File
 * All classes use dynamic prefix w45d7-
 * Site: 777-slots.sbs
 */

/* CSS Variables */
:root {
    --w45d7-primary: #FFC0CB;
    --w45d7-secondary: #CD853F;
    --w45d7-accent: #FF7F50;
    --w45d7-dark: #212F3D;
    --w45d7-highlight: #E65100;
    --w45d7-bg: #0a0e14;
    --w45d7-text: #FFC0CB;
    --w45d7-text-light: #ffffff;
    --w45d7-border: rgba(255, 192, 203, 0.2);
    --w45d7-shadow: rgba(0, 0, 0, 0.3);
    --w45d7-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--w45d7-font);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--w45d7-text);
    background-color: var(--w45d7-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.w45d7-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

.w45d7-wrapper {
    min-height: 100vh;
    padding-bottom: 80px;
}

.w45d7-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

/* Header */
.w45d7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--w45d7-dark) 0%, #1a2634 100%);
    box-shadow: 0 2px 10px var(--w45d7-shadow);
}

.w45d7-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    max-width: 430px;
    margin: 0 auto;
}

.w45d7-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.w45d7-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--w45d7-primary), var(--w45d7-highlight));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--w45d7-dark);
}

.w45d7-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--w45d7-text-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.w45d7-header-btns {
    display: flex;
    gap: 8px;
}

.w45d7-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.w45d7-btn-register {
    background: linear-gradient(135deg, var(--w45d7-highlight), var(--w45d7-accent));
    color: var(--w45d7-text-light);
}

.w45d7-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
}

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

.w45d7-btn-login:hover {
    background: var(--w45d7-primary);
    color: var(--w45d7-dark);
}

.w45d7-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.w45d7-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--w45d7-text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.w45d7-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--w45d7-dark);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
}

.w45d7-menu-active {
    transform: translateX(0) !important;
}

.w45d7-menu-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--w45d7-dark), #1a2634);
    border-bottom: 1px solid var(--w45d7-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.w45d7-menu-nav {
    padding: 20px 0;
}

.w45d7-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--w45d7-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.w45d7-menu-link:hover,
.w45d7-menu-link:focus {
    background: rgba(255, 192, 203, 0.1);
    border-left-color: var(--w45d7-primary);
    color: var(--w45d7-text-light);
}

.w45d7-menu-link i {
    width: 20px;
    text-align: center;
    font-size: 1.6rem;
}

.w45d7-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Main Content */
.w45d7-main {
    padding-top: 60px;
}

/* Hero Carousel */
.w45d7-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--w45d7-dark);
    margin-bottom: 20px;
}

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

.w45d7-slide-active {
    opacity: 1;
    z-index: 2;
}

.w45d7-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w45d7-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--w45d7-text-light);
}

.w45d7-slide-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.w45d7-slide-desc {
    font-size: 1.2rem;
    opacity: 0.9;
}

.w45d7-indicators {
    position: absolute;
    bottom: 10px;
    right: 15px;
    display: flex;
    gap: 6px;
    z-index: 5;
}

.w45d7-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w45d7-indicator-active {
    background: var(--w45d7-primary);
    transform: scale(1.3);
}

/* Section Styles */
.w45d7-section {
    padding: 25px 15px;
}

.w45d7-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w45d7-text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Game Cards */
.w45d7-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.w45d7-game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--w45d7-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.w45d7-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 192, 203, 0.2);
}

.w45d7-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w45d7-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    font-size: 1.1rem;
    color: var(--w45d7-text-light);
    text-align: center;
    font-weight: 600;
}

.w45d7-game-hot {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--w45d7-accent);
    color: white;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Filter Tabs */
.w45d7-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.w45d7-filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: var(--w45d7-dark);
    color: var(--w45d7-text);
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.w45d7-filter-active,
.w45d7-filter-btn:hover {
    background: linear-gradient(135deg, var(--w45d7-primary), var(--w45d7-secondary));
    color: var(--w45d7-dark);
}

/* Bottom Navigation */
.w45d7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--w45d7-dark) 20%);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

.w45d7-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--w45d7-text);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.w45d7-nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.w45d7-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

.w45d7-nav-item:hover,
.w45d7-nav-item:focus,
.w45d7-nav-active {
    color: var(--w45d7-primary);
    transform: scale(1.1);
}

.w45d7-nav-item:hover i,
.w45d7-nav-active i {
    animation: w45d7-pulse 1s infinite;
}

@keyframes w45d7-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Cards and Features */
.w45d7-card {
    background: linear-gradient(135deg, var(--w45d7-dark), #1a2634);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--w45d7-border);
}

.w45d7-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--w45d7-text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w45d7-card-title i {
    color: var(--w45d7-primary);
}

.w45d7-card-text {
    font-size: 1.4rem;
    color: var(--w45d7-text);
    line-height: 1.6;
}

/* Feature Grid */
.w45d7-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.w45d7-feature-item {
    background: var(--w45d7-dark);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.w45d7-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 192, 203, 0.15);
}

.w45d7-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--w45d7-primary), var(--w45d7-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--w45d7-dark);
}

.w45d7-feature-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--w45d7-text-light);
}

/* Stats */
.w45d7-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
}

.w45d7-stat-item {
    flex: 1;
}

.w45d7-stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--w45d7-primary);
    margin-bottom: 5px;
}

.w45d7-stat-label {
    font-size: 1.1rem;
    color: var(--w45d7-text);
    opacity: 0.8;
}

/* Footer */
.w45d7-footer {
    background: var(--w45d7-dark);
    padding: 30px 15px;
    margin-top: 30px;
    text-align: center;
}

.w45d7-footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w45d7-text-light);
    margin-bottom: 15px;
}

.w45d7-footer-desc {
    font-size: 1.3rem;
    color: var(--w45d7-text);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.w45d7-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.w45d7-footer-link {
    color: var(--w45d7-primary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.w45d7-footer-link:hover {
    color: var(--w45d7-accent);
    text-decoration: underline;
}

.w45d7-footer-copy {
    font-size: 1.1rem;
    color: var(--w45d7-text);
    opacity: 0.6;
    padding-top: 15px;
    border-top: 1px solid var(--w45d7-border);
}

/* Play Button CTA */
.w45d7-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--w45d7-highlight), var(--w45d7-accent));
    color: var(--w45d7-text-light);
    border: none;
    border-radius: 30px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(230, 81, 0, 0.4);
}

.w45d7-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(230, 81, 0, 0.5);
}

.w45d7-cta i {
    font-size: 1.8rem;
}

/* Typography */
.w45d7-h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--w45d7-text-light);
    line-height: 1.2;
}

.w45d7-h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w45d7-text-light);
}

.w45d7-h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--w45d7-text-light);
}

.w45d7-text-center {
    text-align: center;
}

.w45d7-mt-20 {
    margin-top: 20px;
}

.w45d7-mb-15 {
    margin-bottom: 15px;
}

/* Animations */
.w45d7-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.w45d7-animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

    .w45d7-main {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .w45d7-main {
        padding-bottom: 80px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--w45d7-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--w45d7-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--w45d7-secondary);
}

/* Image hover effects */
.w45d7-img-zoom {
    overflow: hidden;
}

.w45d7-img-zoom img {
    transition: transform 0.5s ease;
}

.w45d7-img-zoom:hover img {
    transform: scale(1.05);
}

/* Partner logos */
.w45d7-partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.w45d7-partner-logo {
    width: 60px;
    height: 30px;
    background: var(--w45d7-dark);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--w45d7-text);
    opacity: 0.7;
}

/* RTP Section */
.w45d7-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.w45d7-rtp-item {
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.1), rgba(205, 133, 63, 0.1));
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--w45d7-border);
}

.w45d7-rtp-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--w45d7-accent);
}

.w45d7-rtp-label {
    font-size: 1.2rem;
    color: var(--w45d7-text);
    margin-top: 5px;
}

/* Winners Section */
.w45d7-winner-list {
    padding: 10px 0;
}

.w45d7-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--w45d7-border);
}

.w45d7-winner-item:last-child {
    border-bottom: none;
}

.w45d7-winner-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.w45d7-winner-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--w45d7-primary), var(--w45d7-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--w45d7-dark);
}

.w45d7-winner-username {
    font-size: 1.4rem;
    color: var(--w45d7-text-light);
    font-weight: 500;
}

.w45d7-winner-amount {
    font-size: 1.4rem;
    color: var(--w45d7-highlight);
    font-weight: 700;
}