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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1A0A1A 0%, #2D1B2D 50%, #3A1B3A 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(45deg, #E91E63, #EC407A);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #C2185B, #E91E63);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #E91E63;
    border: 2px solid #E91E63;
}

.btn-outline:hover {
    background: #E91E63;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-logo-image {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* Legacy text logo styles (kept for fallback) */
.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(45deg, #FF6B6B, #FFD93D);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    line-height: 1;
    margin-top: -4px;
    letter-spacing: 2px;
}

/* Navigation */
.desktop-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #E91E63;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #E91E63, #EC407A);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #E91E63;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    background: rgba(26, 10, 26, 0.98);
    backdrop-filter: blur(15px);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(233, 30, 99, 0.2);
    padding: 20px;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    color: #E91E63;
}

.mobile-auth {
    display: flex;
    gap: 12px;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1A0A1A 0%, #2D1B2D 30%, #3A1B3A 60%, #4A1B4A 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 64, 122, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(194, 24, 91, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-logo {
    height: 100px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
}

.gradient-text {
    background: linear-gradient(45deg, #E91E63, #EC407A, #E91E63);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.welcome-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.3);
    border-radius: 16px;
    padding: 20px 30px;
    backdrop-filter: blur(10px);
}

.bonus-icon {
    font-size: 2rem;
    color: #EC407A;
}

.bonus-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.bonus-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(233, 30, 99, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: #E91E63;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #E91E63, #EC407A);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Games Categories */
.games-categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(233, 30, 99, 0.3);
}

.category-image {
    font-size: 4rem;
    color: #FF6B6B;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-emoji {
    font-size: 4rem;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    display: inline-block;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.category-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Popular Games */
.popular-games {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.games-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #E91E63;
    color: white;
    border-color: #E91E63;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 30, 99, 0.3);
}

.game-image {
    height: 160px;
    background: linear-gradient(45deg, #E91E63, #EC407A);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
}

.game-image i {
    z-index: 1;
}

.game-image .emoji-fallback {
    font-size: 3rem;
    z-index: 2;
    display: inline-block !important;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    font-style: normal;
}

/* Ensure emoji visibility on all backgrounds */
.game-image[data-type="table"] .emoji-fallback {
    color: #FFFFFF;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.game-image[data-type="slots"] .emoji-fallback {
    color: #FFFFFF;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.game-image[data-type="live"] .emoji-fallback {
    color: #FFFFFF;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

/* Font Awesome icons - hidden by default, can be shown if loaded properly */
.game-image i {
    font-size: 3rem;
    z-index: 1;
}

/* Show emoji by default for reliability */
.game-image .emoji-fallback {
    display: inline-block !important;
}

.game-content {
    padding: 20px;
}

.game-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-provider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.game-actions {
    display: flex;
    gap: 10px;
}

.load-more-container {
    text-align: center;
}

/* Promotions */
.promotions {
    padding: 80px 0;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.promo-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(233, 30, 99, 0.3);
}

.promo-card.featured {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(236, 64, 122, 0.1));
    border-color: rgba(233, 30, 99, 0.3);
}

.promo-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(45deg, #E91E63, #EC407A);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.promo-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #E91E63;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #E91E63;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #E91E63;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.age-restriction {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.age-badge {
    background: #E91E63;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #E91E63;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Information Section Styles */
.info-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.info-content {
    max-width: 880px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.info-content h1 {
    text-align: center;
    color: #E91E63;
    border-bottom: 2px solid #EC407A;
    padding-bottom: 16px;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
}

.info-content h2 {
    color: #EC407A;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.info-content h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 16px;
}

.info-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.info-content th,
.info-content td {
    border: 1px solid rgba(233, 30, 99, 0.2);
    padding: 12px 16px;
    text-align: left;
}

.info-content th {
    background: rgba(233, 30, 99, 0.1);
    font-weight: 600;
    color: #EC407A;
}

.info-content td {
    background: rgba(255, 255, 255, 0.02);
}

.info-content ul,
.info-content ol {
    margin: 16px 0;
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.info-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-section-item {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.info-highlight {
    background: rgba(233, 30, 99, 0.1);
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #E91E63;
    border-radius: 8px;
}

.info-highlight h3 {
    color: #E91E63;
    margin-top: 0;
}

.info-highlight strong {
    color: #EC407A;
}