/* Lucky Pharaoh - Main Stylesheet */
/* Color Scheme: Brown + Red-Yellow/Gold */

:root {
    --primary-brown: #3d2314;
    --dark-brown: #2a180e;
    --light-brown: #5d3a28;
    --gold: #d4a017;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --red: #c41e3a;
    --red-dark: #8b0000;
    --yellow: #ffd700;
    --cream: #f5e6d3;
    --white: #ffffff;
    --black: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 50%, var(--light-brown) 100%);
    color: var(--cream);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: linear-gradient(180deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 3px solid var(--gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--gold), var(--yellow), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

nav a:hover {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--dark-brown);
    border-color: var(--gold);
    transform: translateY(-2px);
}

nav a.active {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--dark-brown);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Live Wins Ticker */
.wins-ticker {
    background: linear-gradient(90deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%);
    padding: 12px 0;
    margin-top: 80px;
    overflow: hidden;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    font-weight: bold;
    color: var(--yellow);
}

.ticker-item span {
    color: var(--white);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, rgba(61,35,20,0.9) 0%, rgba(42,24,14,0.95) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--gold), var(--yellow), var(--gold-light), var(--gold));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--cream);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--dark-brown);
    box-shadow: 0 6px 20px rgba(212,160,23,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,160,23,0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--red), var(--red-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(196,30,58,0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196,30,58,0.6);
}

/* Pulse Animation for CTA Buttons */
.btn-pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin-bottom: 60px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--gold);
    border-bottom: 3px solid var(--gold);
    padding-bottom: 15px;
    display: inline-block;
}

section h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--gold-light);
}

section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(61,35,20,0.5);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.info-table th,
.info-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid rgba(212,160,23,0.3);
}

.info-table th {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    color: var(--dark-brown);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-table tr:hover {
    background: rgba(212,160,23,0.1);
}

.info-table td:first-child {
    font-weight: bold;
    color: var(--gold);
}

/* Symbols Table */
.symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.symbol-card {
    background: linear-gradient(145deg, rgba(61,35,20,0.8), rgba(42,24,14,0.9));
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.symbol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212,160,23,0.3);
}

.symbol-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.symbol-card h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.image-gallery img {
    width: 100%;
    border-radius: 15px;
    border: 3px solid var(--gold);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.image-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(212,160,23,0.4);
}

/* FAQ Section */
.faq-item {
    background: linear-gradient(145deg, rgba(61,35,20,0.6), rgba(42,24,14,0.7));
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(212,160,23,0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--gold);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(212,160,23,0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin: 50px 0;
    border: 3px solid var(--gold);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

.cta-section h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--cream);
    margin-bottom: 30px;
    text-align: center;
}

/* Steps List */
.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps-list li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    min-height: 50px;
}

.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--dark-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
}

.steps-list h4 {
    color: var(--gold);
    margin-bottom: 8px;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: linear-gradient(145deg, rgba(61,35,20,0.7), rgba(42,24,14,0.8));
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(212,160,23,0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212,160,23,0.2);
}

.feature-card h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--dark-brown) 0%, #1a0f08 100%);
    padding: 60px 20px 30px;
    border-top: 3px solid var(--gold);
}

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

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(212,160,23,0.3);
    text-align: center;
}

.responsible-gaming {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.responsible-gaming a {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.responsible-gaming a:hover {
    color: var(--yellow);
}

.contact-info {
    margin: 20px 0;
    color: var(--cream);
}

.contact-info a {
    color: var(--gold);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

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

.age-warning {
    background: var(--red);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-brown);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 12px 15px;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-brown);
    box-shadow: 0 5px 20px rgba(212,160,23,0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212,160,23,0.6);
}

.scroll-top.visible {
    display: flex;
}

/* Play Page Redirect */
.redirect-message {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.redirect-message h1 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.redirect-message p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(212,160,23,0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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