/* King of Luck - Main Stylesheet */
/* Color Scheme: Black-Red-Yellow + Lime Green Clover */

:root {
    --color-black: #0a0a0a;
    --color-dark: #1a1a1a;
    --color-red: #dc2626;
    --color-red-dark: #991b1b;
    --color-yellow: #fbbf24;
    --color-yellow-dark: #d97706;
    --color-lime: #84cc16;
    --color-lime-light: #a3e635;
    --color-gold: #f59e0b;
    --color-white: #ffffff;
    --color-gray: #6b7280;
    --color-gray-light: #9ca3af;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Floating Clover Animation */
.clover-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.floating-clover {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 C30 10 20 25 20 35 C20 45 30 50 35 50 C30 50 10 55 10 70 C10 85 25 90 35 90 C45 90 50 80 50 75 C50 80 55 90 65 90 C75 90 90 85 90 70 C90 55 70 50 65 50 C70 50 80 45 80 35 C80 25 70 10 50 10 Z' fill='%2384cc16'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.6;
    animation: float-clover 15s linear infinite;
}

.floating-clover:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 12s; }
.floating-clover:nth-child(2) { left: 15%; animation-delay: 2s; animation-duration: 15s; }
.floating-clover:nth-child(3) { left: 25%; animation-delay: 4s; animation-duration: 18s; }
.floating-clover:nth-child(4) { left: 35%; animation-delay: 1s; animation-duration: 14s; }
.floating-clover:nth-child(5) { left: 45%; animation-delay: 3s; animation-duration: 16s; }
.floating-clover:nth-child(6) { left: 55%; animation-delay: 5s; animation-duration: 13s; }
.floating-clover:nth-child(7) { left: 65%; animation-delay: 2.5s; animation-duration: 17s; }
.floating-clover:nth-child(8) { left: 75%; animation-delay: 4.5s; animation-duration: 15s; }
.floating-clover:nth-child(9) { left: 85%; animation-delay: 1.5s; animation-duration: 14s; }
.floating-clover:nth-child(10) { left: 95%; animation-delay: 3.5s; animation-duration: 16s; }

@keyframes float-clover {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Header */
header {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-black) 100%);
    border-bottom: 3px solid var(--color-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

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

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-lime);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--color-lime);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-red) 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-gray-light);
    margin-bottom: 40px;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
}

/* Pulsing Button Animation */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(132, 204, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(132, 204, 22, 0);
    }
}

/* Win Ticker */
.win-ticker {
    background: linear-gradient(90deg, var(--color-red-dark) 0%, var(--color-red) 50%, var(--color-red-dark) 100%);
    padding: 15px 0;
    overflow: hidden;
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
}

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

.win-ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    font-size: 1.1rem;
}

.win-ticker-item .amount {
    color: var(--color-lime);
    font-weight: bold;
    font-size: 1.3rem;
}

.win-ticker-item .player {
    color: var(--color-yellow);
}

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

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

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-yellow);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-lime) 100%);
    border-radius: 2px;
}

.section-content {
    color: var(--color-gray-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

/* Table of Contents */
.toc {
    background: var(--color-dark);
    border: 2px solid var(--color-red);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.toc-title {
    font-size: 1.3rem;
    color: var(--color-yellow);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin: 10px 0;
}

.toc a {
    color: var(--color-gray-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
}

.toc a::before {
    content: '🍀';
}

.toc a:hover {
    color: var(--color-lime);
    background: rgba(132, 204, 22, 0.1);
    padding-left: 20px;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-dark);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--color-gray-light);
}

.data-table tr:hover td {
    background: rgba(132, 204, 22, 0.05);
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Symbol Table */
.symbol-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.symbol-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

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

.info-card {
    background: linear-gradient(135deg, var(--color-dark) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid var(--color-red);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-lime);
    box-shadow: 0 10px 30px rgba(132, 204, 22, 0.2);
}

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

.info-card-title {
    font-size: 1.3rem;
    color: var(--color-yellow);
    margin-bottom: 10px;
}

.info-card-text {
    color: var(--color-gray-light);
    font-size: 1rem;
}

/* Images */
.section-image {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 15px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* FAQ */
.faq-item {
    background: var(--color-dark);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(220, 38, 38, 0.1);
}

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

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--color-gray-light);
}

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

/* Lists */
.numbered-list {
    counter-reset: item;
    list-style: none;
}

.numbered-list li {
    counter-increment: item;
    margin: 15px 0;
    padding-left: 50px;
    position: relative;
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.bullet-list {
    list-style: none;
    padding-left: 0;
}

.bullet-list li {
    margin: 10px 0;
    padding-left: 30px;
    position: relative;
}

.bullet-list li::before {
    content: '🍀';
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border: 3px solid var(--color-red);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin: 50px 0;
}

.cta-title {
    font-size: 2rem;
    color: var(--color-yellow);
    margin-bottom: 20px;
}

.cta-text {
    color: var(--color-gray-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

/* Footer */
footer {
    background: var(--color-dark);
    border-top: 3px solid var(--color-red);
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h4 {
    color: var(--color-yellow);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-lime);
}

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

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

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

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

.footer-contact p {
    margin: 10px 0;
    color: var(--color-gray-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: var(--color-lime);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9rem;
}

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

.responsible-gaming a {
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Age Verification */
.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-red);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

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

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-left: 4px solid var(--color-lime);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box p {
    margin: 0;
    color: var(--color-white);
}
