/* Rocketplay Casino Review - Dark Theme Styles */

/* CSS Reset & Variables */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a2e;
    --bg-card: #16162a;
    --bg-card-hover: #1e1e3a;
    --accent-yellow: #FFEB3B;
    --accent-gold: #FFC107;
    --accent-purple: #8B5CF6;
    --accent-purple-dark: #7C3AED;
    --accent-green: #22C55E;
    --accent-green-hover: #16A34A;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #2a2a3e;
    --border-light: #3a3a4e;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.875rem;
    margin-top: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-yellow);
    display: inline-block;
}

h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

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

strong, b {
    color: var(--text-primary);
    font-weight: 600;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #FFC70F;
    color: #0d0d0d;
}

.btn-primary:hover {
    background-color: #e6b30e;
    color: #0d0d0d;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    text-decoration: none;
}

.btn-yellow {
    background-color: #FFC70F;
    color: #0d0d0d;
}

.btn-yellow:hover {
    background-color: #e6b30e;
    color: #0d0d0d;
    text-decoration: none;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--border-color);
    background-image:
        linear-gradient(to right, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.9) 50%, rgba(13, 13, 13, 0.4) 60%, transparent 70%),
        url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-disclaimer {
    background-color: var(--bg-secondary);
    border-left: 3px solid var(--accent-purple);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 16px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.card-highlighted {
    border-color: var(--accent-yellow);
    border-width: 2px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
}

thead {
    background-color: var(--bg-card);
}

th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-yellow);
    font-size: 0.9375rem;
}

td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
}

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

tr:hover {
    background-color: var(--bg-card);
}

/* Rating cell styling */
td:nth-child(2) {
    font-weight: 600;
    color: var(--accent-yellow);
}

/* Lists */
ul, ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

ul li::marker {
    color: var(--accent-yellow);
}

ol li::marker {
    color: var(--accent-yellow);
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-yellow);
}

.info-box.warning {
    border-left-color: #f59e0b;
}

.info-box.note {
    border-left-color: var(--accent-purple);
}

/* Section Images */
.section-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-image figcaption {
    background-color: var(--bg-secondary);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* Two Column Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

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

.pros-list, .cons-list {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
}

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

.cons-list {
    border-top: 3px solid #ef4444;
}

.pros-list h4, .cons-list h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.pros-list ul, .cons-list ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.pros-list li, .cons-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    margin: 0;
}

.pros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.cons-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--bg-card);
}

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

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

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-purple-dark) 0%, var(--accent-purple) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Verdict Section */
.verdict-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    border: 2px solid var(--accent-yellow);
}

.verdict-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #000A13;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 1rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links h4 {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    padding: 0;
}

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

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

.footer-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.footer-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.footer-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Lead text */
.lead-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .two-columns {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

    .verdict-rating {
        font-size: 1.75rem;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .header-inner {
        justify-content: space-between;
    }

    .table-wrapper {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    th, td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-yellow {
    color: var(--accent-yellow);
}

.text-green {
    color: var(--accent-green);
}

.text-purple {
    color: var(--accent-purple);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* ========================================
   UI ENHANCEMENTS - Icons, Effects, Polish
   ======================================== */

/* Section Icon Styles */
.section-icon {
    margin-right: 0.5rem;
    font-size: 1.2em;
}

h2 .section-icon {
    filter: grayscale(0);
    transition: transform 0.3s ease;
}

h2:hover .section-icon {
    transform: scale(1.1);
}

/* Enhanced H2 with gradient underline */
h2 {
    position: relative;
    border-bottom: none;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FFC70F 0%, #8B5CF6 50%, transparent 100%);
    border-radius: 2px;
}

/* Card hover effects */
.card,
.info-box,
.table-wrapper,
.section-image,
.pros-list,
.cons-list,
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.info-box:hover,
.section-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 199, 15, 0.15);
}

.table-wrapper:hover {
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

/* Enhanced table rows */
table tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

table tbody tr:hover {
    background-color: rgba(255, 199, 15, 0.05);
}

/* Rating color classes */
.rating-high {
    color: #22C55E !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.rating-medium {
    color: #FFC70F !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 199, 15, 0.3);
}

.rating-low {
    color: #f97316 !important;
    font-weight: 700;
}

/* Enhanced buttons with glow */
.btn-primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 199, 15, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(255, 199, 15, 0.5);
}

/* Pulse animation for CTA */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 199, 15, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 199, 15, 0.5);
    }
}

.hero-cta .btn-primary {
    animation: pulse-glow 2s infinite;
}

.hero-cta .btn-primary:hover {
    animation: none;
}

/* Enhanced list items */
ul li, ol li {
    position: relative;
    transition: transform 0.2s ease;
}

ul li:hover, ol li:hover {
    transform: translateX(4px);
}

/* Info box icon badge */
.info-box {
    position: relative;
    padding-left: 3.5rem;
}

.info-box::before {
    content: '💡';
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    font-size: 1.25rem;
}

.info-box.warning::before {
    content: '⚠️';
}

.info-box.note::before {
    content: '📌';
}

/* Enhanced FAQ */
.faq-item {
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--accent-yellow);
}

.faq-question {
    position: relative;
    padding-left: 2.5rem;
}

.faq-question::before {
    content: '❓';
    position: absolute;
    left: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}

.faq-answer {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pros/Cons enhanced */
.pros-list:hover {
    border-top-color: #16A34A;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
}

.cons-list:hover {
    border-top-color: #dc2626;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
}

/* Verdict section glow */
.verdict-section {
    position: relative;
    overflow: hidden;
}

.verdict-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 199, 15, 0.05) 0%, transparent 50%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.verdict-rating {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: linear-gradient(135deg, #FFC70F 0%, #FFEB3B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Banner enhanced */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '🚀';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.2;
}

/* Section image hover */
.section-image {
    overflow: hidden;
}

.section-image img {
    transition: transform 0.5s ease;
}

.section-image:hover img {
    transform: scale(1.03);
}

/* Lead text styling */
.lead-text {
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-purple);
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    padding: 0.5rem 1rem;
    border-radius: 0 8px 8px 0;
}

/* Navigation link hover */
.nav a {
    position: relative;
}

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

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

/* Footer image hover */
.footer-image {
    transition: transform 0.3s ease;
}

.footer-image:hover {
    transform: scale(1.01);
}

/* Scroll reveal animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: slideUp 0.6s ease forwards;
}

/* Hero text glow */
.hero h1 {
    text-shadow: 0 0 40px rgba(255, 199, 15, 0.3);
}

/* Badge styles for key facts */
.key-fact-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    margin-right: 0.5rem;
}

/* Mobile responsiveness for enhancements */
@media (max-width: 768px) {
    .info-box {
        padding-left: 1.5rem;
    }

    .info-box::before {
        position: static;
        display: block;
        margin-bottom: 0.5rem;
    }

    .cta-banner::before {
        display: none;
    }

    .faq-question {
        padding-left: 1.5rem;
    }

    .faq-question::before {
        left: 0;
        font-size: 0.875rem;
    }
}
