/* ========================================
   Global Styles & Reset
   ======================================== */

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

:root {
    --primary-color: #2d7a3e;
    --primary-dark: #1f5a2d;
    --primary-light: #3a9851;
    --accent-color: #ffc107;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ========================================
   Utility
   ======================================== */

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

.section {
    padding: 40px 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff !important;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
    color: #fff !important;
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.logo span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 2px;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--primary-color);
    color: white;
}

/* ========================================
   Meta Box (Author & Date)
   ======================================== */

.meta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: var(--shadow);
}

.meta-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.meta-info {
    font-size: 0.88rem;
    color: var(--text-light);
}

.meta-info strong {
    color: var(--text-color);
    display: block;
    font-size: 1rem;
}

.meta-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

.meta-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.meta-date span {
    display: block;
}

/* ========================================
   Content Sections
   ======================================== */

.content-section {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.content-section p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.content-section ul,
.content-section ol {
    margin: 12px 0 18px 25px;
    list-style: disc;
}

.content-section ol {
    list-style: decimal;
}

.content-section li {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* ========================================
   Comparison Table (Desktop)
   ======================================== */

.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.casino-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    min-width: 700px;
}

.casino-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.casino-table th {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    vertical-align: middle;
}

.casino-table tr.clickable-row {
    cursor: pointer;
    transition: all 0.2s;
}

.casino-table tr.clickable-row:hover {
    background: rgba(45, 122, 62, 0.06);
    transform: scale(1.005);
}

.casino-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.casino-rank.top3 {
    background: linear-gradient(135deg, var(--accent-color), #e0a800);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    color: var(--text-color);
}

.casino-name {
    font-weight: 700;
    color: var(--primary-color);
}

.casino-bonus {
    color: var(--text-color);
    font-weight: 600;
}

.casino-rating {
    color: var(--accent-color);
    font-weight: 700;
}

.casino-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: 6px;
}

.badge-new {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.badge-hot {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.badge-top {
    background: rgba(255, 193, 7, 0.15);
    color: #b8860b;
}

.visit-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.visit-btn:hover {
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   Mobile Casino Cards
   ======================================== */

.casino-cards {
    display: none;
}

.casino-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.casino-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.casino-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.casino-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.casino-card-body .card-detail {
    font-size: 0.85rem;
    color: var(--text-light);
}

.casino-card-body .card-detail strong {
    display: block;
    color: var(--text-color);
    font-size: 0.9rem;
}

.casino-card .visit-btn {
    width: 100%;
    text-align: center;
    display: block;
    padding: 10px;
}

/* ========================================
   Review Cards (Casino Guide)
   ======================================== */

.review-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.review-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
}

.review-card .rating-stars {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.review-card .bonus-highlight {
    background: linear-gradient(135deg, rgba(45, 122, 62, 0.08), rgba(58, 152, 81, 0.08));
    border: 1px solid rgba(45, 122, 62, 0.25);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--primary-dark);
}

.review-card .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.review-card .pros h4 {
    color: #27ae60;
    margin-bottom: 8px;
}

.review-card .cons h4 {
    color: #e74c3c;
    margin-bottom: 8px;
}

.review-card .pros ul,
.review-card .cons ul {
    margin: 8px 0 0 18px;
    list-style: disc;
}

.review-card .pros li {
    color: #2d8a56;
    margin-bottom: 6px;
}

.review-card .cons li {
    color: #c0392b;
    margin-bottom: 6px;
}

/* ========================================
   About Page — Team Section
   ======================================== */

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.author-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(45, 122, 62, 0.3);
}

.author-card h3 {
    color: var(--primary-color);
    margin: 15px 0 5px;
    font-size: 1.15rem;
}

.author-card .role {
    color: var(--text-light);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.author-card p {
    color: var(--text-color);
    text-align: left;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(45, 122, 62, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text {
    font-size: 0.92rem;
    color: var(--text-light);
}

.contact-item-text strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 2px;
}

.contact-item-text a {
    color: var(--primary-color);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}

/* ========================================
   Legal / Privacy Content
   ======================================== */

.legal-content {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 30px 0 12px;
    color: var(--primary-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin: 22px 0 8px;
    color: var(--primary-dark);
}

.legal-content p {
    color: var(--text-color);
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 10px 0 18px 24px;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 6px;
    color: var(--text-light);
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 50px 0 0;
    margin-top: 60px;
}

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

.footer-col h4 {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p,
.footer-col li,
.footer-col a {
    font-size: 0.88rem;
    color: #e0e0e0;
    line-height: 1.8;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--accent-color);
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: #e0e0e0;
}

.footer-contact-item a {
    color: #e0e0e0;
}

.footer-contact-item a:hover {
    color: var(--accent-color);
}

.footer-map {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    filter: grayscale(0.3);
    transition: filter 0.3s;
}

.footer-map:hover iframe {
    filter: grayscale(0);
}

.footer-responsible {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-responsible p {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.footer-responsible a {
    color: #e0e0e0;
    margin: 0 8px;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-responsible a:hover {
    color: var(--accent-color);
}

.eighteen-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    font-weight: 800;
    font-size: 0.85rem;
    margin: 0 8px;
}

.gamble-aware-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 700px;
    margin: 10px auto 0;
    line-height: 1.5;
}

.gamble-aware-text a {
    color: rgba(255, 255, 255, 0.6);
}

.gamble-aware-text a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #e0e0e0;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #e0e0e0;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .review-card .pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 18px;
    }

    .nav-wrapper {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 16px;
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 25px;
    }

    .meta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-divider {
        display: none;
    }

    /* Table to cards on mobile */
    .table-wrapper {
        display: none;
    }

    .casino-cards {
        display: block;
    }

    .casino-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .author-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.7rem;
    }

    .content-section {
        padding: 20px;
    }

    .nav-menu a {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .casino-card-body {
        grid-template-columns: 1fr;
    }

    .visit-btn {
        width: 100%;
        text-align: center;
    }

    .btn {
        width: 100%;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .site-header,
    .site-footer,
    .nav-menu,
    .nav-toggle,
    .btn,
    .visit-btn {
        display: none;
    }

    .content-section,
    .review-card,
    .legal-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
