/* ============================================
   SANDBAR CALOUNDRA - Casino Website Styles
   Real Money Pokies Australia
   ============================================ */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --gold: #f5a623;
    --green: #27ae60;
    --text: #ffffff;
    --text-muted: #b0b0b0;
    --bg-dark: #0f0f1a;
    --bg-card: #1e1e3a;
    --border: #2a2a4a;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --max-width: 1200px;
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--font-heading);
}

.site-logo span {
    color: var(--gold);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0d1b2a 50%, var(--secondary) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 50%);
    animation: pulse 8s infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--text), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

/* CTA Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: var(--text);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.5);
    color: var(--text);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary);
}

/* Casino Cards */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.casino-card.featured {
    border-color: var(--gold);
}

.casino-card.featured::before {
    content: 'TOP PICK';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--gold);
    color: var(--primary);
    padding: 0.25rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.casino-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gold);
    font-size: 1.1rem;
}

.casino-bonus {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid var(--green);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.casino-bonus strong {
    color: var(--green);
    font-size: 1.2rem;
}

.casino-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.casino-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.casino-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: bold;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.article-content h2 {
    color: var(--gold);
    margin-top: 2.5rem;
}

.article-content h3 {
    color: var(--text);
    margin-top: 2rem;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Info Box / Callout */
.info-box {
    background: rgba(245, 166, 35, 0.1);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.info-box h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.warning-box {
    background: rgba(233, 69, 96, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary);
    padding: 1rem;
    text-align: left;
    color: var(--gold);
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Pros/Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.pros, .cons {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.pros {
    border-top: 3px solid var(--green);
}

.cons {
    border-top: 3px solid var(--accent);
}

.pros h4 { color: var(--green); }
.cons h4 { color: var(--accent); }

.pros ul, .cons ul {
    list-style: none;
    margin-top: 1rem;
}

.pros li::before { content: '✓ '; color: var(--green); }
.cons li::before { content: '✗ '; color: var(--accent); }

/* Author Box - E-E-A-T */
.author-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 3rem 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.author-info .author-title {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 0.9rem;
}

/* Last Updated Badge */
.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid var(--green);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--green);
    margin-bottom: 1.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs span {
    color: var(--gold);
}

/* FAQ Accordion */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

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

/* Footer */
.site-footer {
    background: var(--primary);
    border-top: 2px solid var(--border);
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.responsible-gambling {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.responsible-gambling p {
    font-size: 0.85rem;
}

/* Schema / Structured Data Badge */
.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}

.trust-badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .nav-toggle { display: block; }
    
    .main-nav {
        display: none;
        width: 100%;
        padding-top: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero { padding: 2.5rem 0; }
    .hero h1 { font-size: 1.5rem; }
    .content-section { padding: 2.5rem 0; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
