/* Royal King Theme - Dark Colors */
:root {
    --royal-gold: #D4AF37;
    --royal-purple: #4B0082;
    --royal-dark: #1a1a1a;
    --royal-red: #8B0000;
    --royal-blue: #00008B;
    --royal-silver: #C0C0C0;
    --section-padding: 80px 0;
    --card-padding: 30px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

/* Global Styles */
body {
    background-color: var(--royal-dark);
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
}

.logo {
    font-family: "Lobster", sans-serif;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header Animation */
.main-header {
    background: linear-gradient(45deg, var(--royal-purple), var(--royal-dark));
    border-bottom: 2px solid var(--royal-gold);
    animation: royalGlow 3s infinite alternate;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

@keyframes royalGlow {
    0% {
        box-shadow: 0 0 10px var(--royal-gold);
    }

    100% {
        box-shadow: 0 0 20px var(--royal-gold), 0 0 30px var(--royal-purple);
    }
}

/* Logo Animation */
.logo {
    position: relative;
    overflow: hidden;
}

.logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(212, 175, 55, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: royalShine 3s infinite;
}

@keyframes royalShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Casino Cards Animation */
.casino-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(75, 0, 130, 0.9));
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    width: 100%;
    min-width: 0;
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--royal-gold);
}

.casino-image {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) - 4px);
    margin-bottom: 20px;
}

.casino-content {
    padding: 20px 0;
}

.casino-name {
    font-size: 1.8rem;
    color: var(--royal-gold);
    margin-bottom: 15px;
}

.casino-bonus {
    display: block;
    font-size: 1.2rem;
    color: var(--royal-silver);
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

/* Features List */
.casino-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.casino-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.casino-features li:last-child {
    border-bottom: none;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.payment-method {
    padding: 8px 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.payment-method:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

/* Visit Button */
.visit-btn {
    display: block;
    padding: 5px 10px;
    background: linear-gradient(45deg, var(--royal-gold), var(--royal-silver));
    color: var(--royal-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Section Titles Animation */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-gold), var(--royal-purple), var(--royal-gold));
    animation: royalBorder 3s infinite;
}

@keyframes royalBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Trust Cards Animation */
.trust-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(75, 0, 130, 0.9));
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--royal-gold);
}

.trust-icon {
    color: var(--royal-gold);
    font-size: 2em;
    animation: royalPulse 2s infinite;
}

@keyframes royalPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Review Cards Animation */
.review-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(75, 0, 130, 0.9));
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--royal-gold);
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--royal-gold);
}

.rating {
    color: var(--royal-gold);
    animation: royalTwinkle 2s infinite;
}

@keyframes royalTwinkle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Footer Animation */
footer {
    background: linear-gradient(45deg, var(--royal-purple), var(--royal-dark));
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--royal-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--royal-silver);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--royal-gold);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --card-padding: 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .casino-grid,
    .trust-grid,
    .reviews-grid {
        gap: 20px;
    }

    .container {
        padding: 0 16px;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--royal-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid var(--royal-gold);
    border-top-color: transparent;
    border-radius: 50%;
    animation: royalSpin 1s linear infinite;
}

@keyframes royalSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero-section {
    width: 100%;
    padding: 120px 0;
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(75, 0, 130, 0.8)), url('casinos/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    border-bottom: 2px solid var(--royal-gold);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--royal-gold);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--royal-silver);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--royal-gold), var(--royal-silver));
    color: var(--royal-dark);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--royal-gold);
    animation: fadeInUp 1.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    background: linear-gradient(45deg, var(--royal-silver), var(--royal-gold));
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

/* Casino Grid */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu li a {
    color: var(--royal-silver);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--royal-gold);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--royal-gold);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--royal-gold);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 20px 0;
    text-align: center;
}

.mobile-menu a {
    color: var(--royal-gold);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--royal-silver);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: fixed;
        top: 5px;
        right: 5px;
    }

    .mobile-menu {
        display: block;
    }

    .nav-menu {
        display: none;
    }
}

/* Desktop Menu Styles */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }
}

/* Logo Styles */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-gold);
    text-decoration: none;
    padding: 10px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px var(--royal-gold);
}

/* Active Link Styles */
.nav-menu li a.active {
    color: var(--royal-gold);
}

.nav-menu li a.active::after {
    width: 100%;
}

/* Menu Animation */
@keyframes menuSlideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes menuSlideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

/* Menu Item Hover Effect */
.nav-menu li {
    position: relative;
}

.nav-menu li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 5px;
    height: 0;
    background: var(--royal-gold);
    transform: translateY(-50%);
    transition: height 0.3s ease;
}

.nav-menu li:hover::before {
    height: 20px;
}

/* Mobile Menu Item Animation */
@media (max-width: 768px) {
    .nav-menu li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu li:nth-child(4) {
        transition-delay: 0.4s;
    }
}

/* Table Styles */
.casino-table-container {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
    padding: 0 0 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--royal-gold) var(--royal-dark);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding-left: calc(50vw - 600px);
    padding-right: calc(50vw - 600px);
}

@media (max-width: 1200px) {
    .casino-table-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.casino-table-container::-webkit-scrollbar {
    height: 8px;
}

.casino-table-container::-webkit-scrollbar-track {
    background: var(--royal-dark);
    border-radius: 4px;
}

.casino-table-container::-webkit-scrollbar-thumb {
    background: var(--royal-gold);
    border-radius: 4px;
}

.casino-table {
    width: 100%;
    min-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(75, 0, 130, 0.9));
    border-radius: var(--border-radius);
    overflow: hidden;
}

.casino-table th {
    background: rgba(212, 175, 55, 0.1);
    color: var(--royal-gold);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid var(--royal-gold);
}

.casino-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    vertical-align: middle;
}

.casino-table tr:last-child td {
    border-bottom: none;
}

.casino-table tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}

.logo-cell {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.logo-cell img {
    width: 80px;
    height: auto;
    border-radius: 8px;
}

.bonus-cell {
    min-width: 300px;
}

.payment-cell {
    min-width: 250px;
}

.payment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-tag {
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.visit-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--royal-gold), var(--royal-silver));
    color: var(--royal-dark);
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: var(--transition);
    white-space: nowrap;
}

.visit-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Responsive Table */
@media (max-width: 768px) {

    .casino-table th,
    .casino-table td {
        padding: 15px;
    }

    .logo-cell img {
        width: 60px;
    }

    .payment-tag {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .casino-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .casino-card {
        padding: 15px;
    }

    .casino-name {
        font-size: 1.5rem;
    }

    .casino-bonus {
        font-size: 1rem;
        padding: 8px;
    }

    .casino-features li {
        padding: 8px 0;
    }
}

/* About Section Styles */
.about-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(75, 0, 130, 0.9));
}

.about-us-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.about-us-section h2 {
    color: var(--royal-gold);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.about-us-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-gold), var(--royal-purple), var(--royal-gold));
    animation: royalBorder 3s infinite;
}

.about-us-section h3 {
    color: var(--royal-gold);
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.about-us-section p {
    color: var(--royal-silver);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-us-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-us-section ul li {
    color: var(--royal-silver);
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.about-us-section ul li::before {
    content: '•';
    color: var(--royal-gold);
    position: absolute;
    left: 0;
    font-size: 1.5em;
}

.about-us-section strong {
    color: var(--royal-gold);
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 20px;
    }

    .about-us-section h2 {
        font-size: 2rem;
    }

    .about-us-section h3 {
        font-size: 1.5rem;
    }

    .about-us-section p {
        font-size: 1rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(75, 0, 130, 0.9));
    min-height: calc(100vh - 300px);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.legal-content h1 {
    color: var(--royal-gold);
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.legal-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-gold), var(--royal-purple), var(--royal-gold));
    animation: royalBorder 3s infinite;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--royal-gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.legal-section p {
    color: var(--royal-silver);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.legal-section a {
    color: var(--royal-gold);
    text-decoration: none;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--royal-silver);
    text-decoration: underline;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    color: var(--royal-silver);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 20px;
    }

    .legal-content h1 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section p {
        font-size: 1rem;
    }
}