/* --- Streamingslots.net Style (Professional/Tech) --- */

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0d47a1; /* Dark Blue */
    --secondary-color: #e3f2fd; /* Light Blue */
    --accent-color: #ffab00; /* Amber/Gold */
    --text-color: #212121; /* Dark Gray */
    --bg-color: #ffffff; /* White */
    --footer-sale-text: #ffab00; /* Amber/Gold */
    --font-family: 'Inter', sans-serif;
    --container-width: 1100px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.highlight {
    color: var(--accent-color);
    font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-color);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--bg-color);
    font-weight: 700;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-links a:hover::after, .nav-links a:focus::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a:focus {
    color: var(--accent-color);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle svg {
    width: 30px;
    height: 30px;
    fill: var(--bg-color);
}

/* --- Main Content --- */
main {
    flex-grow: 1;
    padding-top: 2rem; /* Adjust if header height changes */
    padding-bottom: 3rem;
}

.page-content main {
     padding-top: calc(var(--header-height) + 2rem);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--secondary-color);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #ffc107; /* Slightly lighter Amber */
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Highlights Section --- */
.highlights-section {
    padding: 3rem 0;
}

.section-title {
    margin-bottom: 2.5rem;
}

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

.highlight-card {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.highlight-card h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.learn-more:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* --- Snippets Section --- */
.snippets-section {
    background-color: var(--secondary-color);
    padding: 3rem 0;
}

.snippets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.snippet-card {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.snippet-card h4 {
     color: var(--primary-color);
     margin-bottom: 0.5rem;
}

.inline-link {
    color: var(--accent-color);
    font-weight: 700;
}

.inline-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* --- Page Content (Generic for inner pages) --- */
.page-content section {
    padding: 2rem 0;
}

.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

.content-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-section h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-section ul {
    margin-bottom: 1.5rem;
}

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

.disclaimer {
    font-style: italic;
    color: #555;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-left: 3px solid var(--accent-color);
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: #e0e0e0; /* Lighter text for contrast */
    padding: 2rem 0;
    margin-top: auto; /* Pushes footer to bottom */
    text-align: center;
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

footer nav a {
    color: #e0e0e0;
    margin: 0 0.5rem;
}

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

footer p[style*="italic"] {
    color: var(--footer-sale-text) !important; /* Ensure override */
}

footer p[style*="italic"] a {
    color: var(--footer-sale-text) !important; /* Ensure override */
    text-decoration: underline;
}

footer p[style*="italic"] a:hover {
    color: var(--bg-color) !important; /* Lighter hover for sale link */
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .nav-links {
        position: fixed;
        inset: 0 0 0 30%; /* Slide in from right */
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        background: hsl(0 0% 0% / 0.9);
        backdrop-filter: blur(1rem);
        gap: 2em;
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }

    .nav-links[data-visible="true"] {
        transform: translateX(0%);
    }

    .nav-links a {
        color: white;
        font-size: 1.2rem;
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 9999;
        top: 1.5rem;
        right: 1.5rem;
        width: 2rem;
        aspect-ratio: 1;
        background: transparent;
        border: 0;
        padding: 0;
    }

    /* Hamburger Icon */
    .mobile-nav-toggle::before,
    .mobile-nav-toggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: white;
        left: 0;
        transition: transform 350ms ease-out, opacity 100ms linear;
    }
    .mobile-nav-toggle::before {
        top: 25%;
    }
    .mobile-nav-toggle::after {
        bottom: 25%;
    }
    .mobile-nav-toggle[aria-expanded="true"]::before {
        transform: translateY(calc(var(--header-height) * 0.05)) rotate(45deg);
        top: 45%;
    }
    .mobile-nav-toggle[aria-expanded="true"]::after {
        transform: translateY(calc(var(--header-height) * -0.05)) rotate(-45deg);
        bottom: 45%;
    }

    .highlights-grid,
    .snippets-grid {
        grid-template-columns: 1fr;
    }
}

