/* Main Color Variables */
:root {
    --mercury-main: #3c40c6;
    --mercury-second: #f1c40f;
    --mercury-white: #fff;
    --mercury-gray: #263238;
    --mercury-emerald: #2edd6c;
    --mercury-alizarin: #e74c3c;
    --mercury-wisteria: #8e44ad;
    --mercury-peter-river: #3498db;
    --mercury-clouds: #ecf0f1;
}

/* Basic Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #c3c7c8;
    background-color: #000515;
}

/* Header Styles */
.space-header-height {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.space-header-wrap {
    background-color: #000515;
    box-shadow: 0px 1px 1px 0px rgba(109, 141, 173, 0.15);
}

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

.space-header-logo img {
    height: 40px;
    width: auto;
}

/* Navigation Styles */
.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-menu li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-menu li a:hover,
.main-menu li.current-menu-item a {
    color: var(--mercury-second);
    border-bottom-color: var(--mercury-second);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #00030e;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.wp-block-cover {
    background: linear-gradient(135deg, #000515 0%, #03091d 100%);
    padding: 120px 20px 60px;
    text-align: center;
}

.wp-block-heading {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-logo img {
    margin: 20px 0;
}

/* Casino Listings */
.casino-listings {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Remove underlines from dropdown links */
.sub-menu a {
    text-decoration: none !important;
}

.sub-menu a:hover {
    text-decoration: none !important;
}

/* Hamburger to X animation */
.space-mobile-menu-icon {
    position: relative;
    width: 24px;
    height: 18px;
}

.space-mobile-menu-icon div {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.space-mobile-menu-icon div:nth-child(1) {
    top: 0;
}

.space-mobile-menu-icon div:nth-child(2) {
    top: 8px;
}

.space-mobile-menu-icon div:nth-child(3) {
    top: 16px;
}

.space-mobile-menu-icon.active div:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.space-mobile-menu-icon.active div:nth-child(2) {
    opacity: 0;
}

.space-mobile-menu-icon.active div:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}
.main-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
}

.main-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 1.5rem 0 1rem;
}

.main-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1.25rem 0 0.75rem;
}

.main-content h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
}

.main-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.main-content li {
    margin-bottom: 0.5rem;
}

.casino-item {
    background-color: #020819;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.casino-item:hover {
    transform: translateY(-5px);
}

.casino-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.casino-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.casino-info h3 a {
    color: #ffffff;
    text-decoration: none;
}

.star-rating {
    color: var(--mercury-second);
    margin-bottom: 15px;
}

.casino-info p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.casino-buttons {
    display: flex;
    gap: 10px;
}

.btn-review,
.btn-visit {
    flex: 1;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-review {
    background-color: #051131;
    color: #ffffff;
}

.btn-visit {
    background-color: var(--mercury-main);
    color: #ffffff;
}

.btn-review:hover,
.btn-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 30px 0px rgba(60, 64, 198, 0.60);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
}

/* Article content centering for index.html */
article.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: none;
}

/* Slot Gaming Page Specific Styles */
.slot-content-wrapper {
    padding: 40px 0;
}

.slot-main-content {
    flex: 1;
    padding: 0;
}

.slot-sidebar {
    background-color: #020819;
    border-radius: 10px;
    padding: 20px;
    height: fit-content;
}

/* Sidebar */
.sidebar {
    background-color: #020819;
    border-radius: 10px;
    padding: 20px;
    height: fit-content;
}

.space-widget h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mercury-second);
}

.space-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.space-widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.space-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.space-widget a {
    color: #c3c7c8;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.space-widget a:hover {
    color: var(--mercury-second);
}

/* Content Wrapper */
.content-wrapper {
    padding: 40px 0;
}

.main-content h2,
.main-content h3 {
    color: #ffffff;
    margin: 30px 0 15px;
}

.main-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.main-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.main-content li {
    margin-bottom: 8px;
}

.space-widget h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mercury-second);
}

.space-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.space-widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.space-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.space-widget a {
    color: #c3c7c8;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.space-widget a:hover {
    color: var(--mercury-second);
}

/* Content Wrapper */
.content-wrapper {
    padding: 40px 0;
}
.space-footer {
    background-color: #020819;
    padding: 40px 20px;
    margin-top: 60px;
}

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

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-column img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu */
.space-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background-color: #000515;
    z-index: 2000;
    transition: left 0.3s ease;
}

.space-mobile-menu.active {
    left: 0;
}

.space-mobile-menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.space-mobile-menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Search */
.space-header-search-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
}

.space-header-search-block input {
    width: 400px;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
}

/* Back to Top */
.space-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

#scrolltop {
    display: block;
    width: 50px;
    height: 50px;
    background-color: var(--mercury-second);
    color: #000;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#scrolltop:hover {
    transform: translateY(-3px);
}

/* Slot Gaming Article Content */
.slot-article-content {
    color: #c3c7c8;
    line-height: 1.7;
}

.slot-article-content h2 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--mercury-second);
    padding-bottom: 0.5rem;
}

.slot-article-content h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 1.5rem 0 1rem;
}

.slot-article-content h4 {
    color: var(--mercury-second);
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
}

.slot-article-content p {
    margin-bottom: 1rem;
}

.slot-article-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.slot-article-content li {
    margin-bottom: 0.5rem;
}

.slot-article-content a {
    color: var(--mercury-second);
    text-decoration: none;
    transition: color 0.3s ease;
}

.slot-article-content a:hover {
    color: #ffffff;
}

.slot-article-content table {
    background-color: #020819;
    border-radius: 8px;
    overflow: hidden;
}

.slot-article-content .bg-gray-750 {
    background-color: #1a1f2e;
}

.slot-article-content .bg-gray-800 {
    background-color: #020819;
}

/* Slot Gaming Specific Styles */
.slot-gaming-hero-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .slot-gaming-hero-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .slot-gaming-hero-title {
        font-size: 24px;
    }
}

/* Sidebar Casino List */
.sidebar-casino-item {
    padding: 12px;
    background-color: #051131;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sidebar-casino-item:hover {
    background-color: #0a1a3a;
    border-color: var(--mercury-second);
    transform: translateY(-2px);
}

.sidebar-casino-logo img {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-casino-item h3 {
    margin: 0;
    font-size: 0.875rem;
}

.sidebar-casino-item .star-rating {
    color: var(--mercury-second);
    font-size: 0.75rem;
}

.sidebar-casino-item p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar,
    .slot-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: none;
    }
    
    .space-mobile-menu-icon {
        display: flex;
    }
    
    .wp-block-heading {
        font-size: 1.8rem;
    }
    
    .casino-buttons {
        flex-direction: column;
    }
    
    .space-header-search-block input {
        width: 90%;
    }
    
    .sidebar,
    .slot-sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .space-organizations-4-archive-items {
        grid-template-columns: 1fr;
    }
    
    .wp-block-heading {
        font-size: 1.5rem;
    }
}
