/* Custom CSS for Tribe-SpinLuck.com */
:root {
    --primary: #6C63FF;
    --secondary: #2A265F;
    --accent: #FF6B6B;
    --light: #F8F9FA;
    --dark: #1A1B1E;
    --gray: #6C757D;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* Age Disclaimer Topbar */
.age-disclaimer {
    background-color: var(--secondary);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link.active {
    color: var(--primary) !important;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0;
    }
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(42, 38, 95, 0.05) 100%);
}

.hero-section h1 {
    color: var(--secondary);
    line-height: 1.2;
}

.hero-section .lead {
    color: var(--gray);
    font-size: 1.1rem;
}

.hero-image {
    max-width: 90%;
    filter: drop-shadow(0 10px 20px rgba(108, 99, 255, 0.15));
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.hero-features .badge {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(108, 99, 255, 0.2);
    background-color: white !important;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 40px;
        max-width: 80%;
    }
    
    .hero-cta {
        justify-content: center;
    }
}

/* About Section */
.about-section {
    background-color: white;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
}

.about-content {
    height: 100%;
}

.about-content h3 {
    color: var(--secondary);
    font-size: 1.8rem;
}

.about-content p {
    color: var(--gray);
    line-height: 1.7;
}

.value-card {
    padding: 20px;
    background: rgba(108, 99, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(108, 99, 255, 0.08);
    transform: translateY(-5px);
}

.value-card h5 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.stats-container {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 !important;
    }
    
    .stats-container {
        padding: 20px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
}

/* Games Section */
.games-section {
    background-color: var(--light);
}

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.15);
}

.game-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-content {
    padding: 20px;
    text-align: center;
}

.game-content h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.game-content .btn {
    width: 100%;
    max-width: 200px;
}

@media (max-width: 768px) {
    .game-card {
        margin-bottom: 20px;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(to bottom, #1A1B1E, #2A265F);
}

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.footer-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link:hover:after {
    width: 100%;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-link {
        padding: 8px 0;
    }
}

/* Contact Page Styles */
.contact-section {
    background-color: var(--light);
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 3rem;
}

.contact-email {
    display: inline-block;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.support-hours {
    color: var(--gray);
}

.support-hours h4 {
    color: var(--secondary);
}

.additional-info {
    color: var(--gray);
}

.note {
    font-size: 0.9rem;
    color: var(--accent);
    font-style: italic;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 2rem;
    }
    
    .contact-email {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
}

/* Policy Pages Styles */
.policy-section {
    background-color: var(--light);
}

.policy-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-item h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.policy-item h4 {
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.policy-item p {
    color: var(--gray);
    line-height: 1.7;
}

.policy-item ul {
    list-style-type: none;
    padding-left: 0;
}

.policy-item ul li {
    color: var(--gray);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.policy-item ul li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-item a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-item {
        margin-bottom: 2rem;
    }
}

/* Game Pages Styles */
.game-page-section {
    background-color: var(--light);
    min-height: calc(100vh - 300px);
}

.game-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.game-title {
    color: var(--secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.game-frame-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.game-disclaimer {
    background: rgba(108, 99, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.game-disclaimer h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.game-disclaimer p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.game-disclaimer ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.game-disclaimer ul li {
    color: var(--gray);
    font-size: 0.95rem;
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.game-disclaimer ul li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .game-frame-container {
        height: 400px;
    }
    
    .game-container {
        padding: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}