/* ===================================
   AQUASTRUCT CASINO - CUSTOM STYLES
   =================================== */

/* CSS Variables - Color Palette */
:root {
    --primary-purple: #1a0b2e;
    --secondary-purple: #2d1b4e;
    --accent-gold: #FFD700;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation Bar */
.navbar {
    background: rgba(26, 11, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    border-bottom: 2px solid var(--accent-gold);
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold) !important;
}

.nav-link.active {
    color: var(--accent-gold) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--accent-gold);
}

.balance-display {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #FFA500 100%);
    color: var(--primary-purple) !important;
    font-weight: 700;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    box-shadow: var(--shadow-glow);
}

.balance-display:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #FFA500 100%);
    border: none;
    color: var(--primary-purple);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    color: var(--primary-purple);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-purple);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--card-bg);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-title {
    color: var(--primary-purple);
    font-weight: 700;
}

.card-text {
    color: #333;
}

/* Game Cards */
.game-card {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-purple) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    border-color: var(--accent-gold);
}

.game-icon {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.game-description {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Section Headings */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: rgba(26, 11, 46, 0.95);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--accent-gold);
    margin-top: 5rem;
}

.footer-heading {
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-purple);
    transform: translateY(-3px);
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--accent-gold);
}

.disclaimer {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--accent-gold);
    padding: 1rem;
    border-radius: 4px;
}

.disclaimer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .navbar-brand .logo {
        height: 50px;
    }
}

/* Game Page Specific Styles */
.game-container {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.game-interface {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-purple) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem 0;
}

.balance-display-game {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.bet-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.bet-input {
    width: 150px;
    padding: 0.5rem;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-purple);
    font-weight: 600;
    text-align: center;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: slideInRight 0.5s ease;
}

.notification.win {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.notification.lose {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Game Card Enhancements */
.game-card-detailed {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.game-card-detailed::after {
    content: '▶ PLAY NOW';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--primary-purple);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.game-card-detailed:hover::after {
    opacity: 1;
}

/* Game Images */
.game-card-detailed img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 1rem;
}


/* Age & Disclaimer Banner */
.age-disclaimer-banner {
    background: linear-gradient(90deg, #d32f2f 0%, #c62828 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid #b71c1c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 999;
}

.age-disclaimer-banner .banner-icon {
    color: #FFD700;
    margin-right: 8px;
    font-size: 16px;
}

.age-disclaimer-banner strong {
    color: #FFD700;
    font-size: 16px;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .age-disclaimer-banner {
        font-size: 11px;
        padding: 8px 0;
    }
    
    .age-disclaimer-banner strong {
        font-size: 13px;
    }
}


/* Prominent Hero Disclaimer */
.hero-disclaimer-prominent {
    background: rgba(211, 47, 47, 0.9);
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-disclaimer-prominent p {
    color: white;
    font-size: 14px;
    line-height: 1.6;
}

.hero-disclaimer-prominent strong {
    color: #FFD700;
    font-size: 16px;
}

.hero-disclaimer-prominent i {
    color: #FFD700;
}

@media (max-width: 768px) {
    .hero-disclaimer-prominent {
        padding: 12px 15px;
    }
    
    .hero-disclaimer-prominent p {
        font-size: 12px;
    }
    
    .hero-disclaimer-prominent strong {
        font-size: 14px;
    }
}
