:root {
    --brand-purple: #6B4EAA; /* Soothing purple for primary color */
    --black: #1A1A1A;
    --white: #F8F9FA;
    --gray-bg: #EDE9FE; /* Light purple-gray for backgrounds */
    --accent-teal: #2EC4B6; /* Complementary teal for highlights */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px; /* Added subtle rounding for images */
}

.container {
    width: 100%;
    max-width: 1280px; /* Slightly wider container */
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-min {
    width: 80px; /* Slightly smaller logo */
    height: auto;
    border-radius: 50px; /* More pronounced rounding */
}

.site-name {
    color: var(--brand-purple);
}

nav.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--accent-teal); /* Teal for hover underline */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-purple);
    transform: translateY(-2px); /* Subtle lift on hover */
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 28px;
    height: 4px;
    background: var(--brand-purple);
    border-radius: 2px; /* Rounded bars */
    transition: transform 0.3s, opacity 0.3s;
}

.hero {
    background: var(--brand-purple);
    color: var(--white);
    margin-top: 90px; /* Adjusted for larger header */
}

.hero-content {
    text-align: center;
    padding: 5rem 1.5rem 6rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-teal);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background: var(--black);
    transform: scale(1.08); /* Slightly larger scale on hover */
}

.elements-showcase {
    padding: 5rem 0;
    background: var(--gray-bg);
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    list-style: none;
}

.element-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(107, 78, 170, 0.2); /* Purple-tinted border */
    border-radius: 16px;
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.element-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.element-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 1.25rem;
}

.element-item p {
    font-size: 1rem;
    color: var(--black);
}

.about-us {
    background: var(--white);
    padding: 5rem 0;
}

.about-wrapper h2 {
    font-size: 2.25rem;
    color: var(--brand-purple);
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-wrapper h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--black);
}

.about-wrapper p {
    margin-bottom: 1.25rem;
    color: var(--black);
    opacity: 0.85;
}

.about-wrapper ul {
    margin-left: 1.75rem;
    margin-bottom: 2rem;
    list-style: square; /* Changed to square for uniqueness */
}

.responsible-gaming {
    background: var(--black);
    color: var(--white);
    padding: 2.5rem 0;
}

.responsible-gaming h2 {
    text-align: center;
    color: var(--accent-teal);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05); /* Subtle background for ticker */
    padding: 0.5rem 0;
}

.ticker {
    display: inline-block;
    animation: ticker-scroll 35s linear infinite;
}

.ticker p {
    display: inline-block;
    padding-right: 5rem;
    font-size: 1rem;
    opacity: 0.9;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

footer {
    background: var(--brand-purple);
    color: var(--white);
}

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

.footer-menu {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.footer-bottom h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.footer-bottom p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.compliance-logos {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.compliance-logos img {
    height: 40px;
    filter: brightness(0.9); /* Subtle dim for logos */
}

.copyright {
    background: var(--black);
    color: #A0A0A0;
    text-align: center;
    font-size: 0.9rem;
    padding: 1.25rem 0;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav.nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px; /* Slightly wider menu */
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    }

    nav.nav-links.open {
        transform: translateX(0);
    }

    nav.nav-links a {
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
    }
}