:root {
    --bg-color: #040C2E;
    --primary-color: #F6DA24;
    --accent-color-1: #280D41;
    --accent-color-2: #1679E1;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: rgba(40, 13, 65, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    /* Increased size */
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    /* Increased size */
    color: var(--primary-color);
    margin-top: 3rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    /* Increased size */
    color: var(--accent-color-2);
}

p {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    font-size: 1.25rem;
    /* Increased size */
}

ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--bg-color);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(246, 218, 36, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    opacity: 0.2;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 218, 36, 0.5);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/Magneticslots casino1 (1).jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 12, 46, 0.6);
    /* Dark overlay to improve text contrast */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    background: rgba(4, 12, 46, 0.7);
    padding: 3rem;
}

.features-table tr:hover {
    transform: scale(1.01);
    background: rgba(40, 13, 65, 0.8);
}

.features-table td {
    padding: 1.5rem;
    border: var(--glass-border);
}

.features-table td:first-child {
    font-weight: 700;
    color: var(--primary-color);
    width: 30%;
    border-right: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.features-table td:last-child {
    border-left: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Game Gallery */
.game-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-gallery-item {
    display: block;
    /* Make anchor clickable */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.game-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(246, 218, 36, 0.2);
    border-color: var(--primary-color);
}

.game-gallery-item img {
    width: 100%;
    height: 300px;
    /* Taller images */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-gallery-item:hover img {
    transform: scale(1.05);
}

/* Styled Lists */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.styled-list li::before {
    content: '✓';
    /* Default icon */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.styled-list.sports li::before {
    content: '🏅';
}

.styled-list.games li::before {
    content: '🎰';
}

.styled-list.live li::before {
    content: '🎥';
}

/* Bonus Table */
.bonus-table {
    width: 100%;
    margin-top: 2rem;
    border-collapse: collapse;
}

.bonus-table th,
.bonus-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-table th {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Steps */
.step-list {
    counter-reset: step;
    list-style: none;
}

.step-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent-color-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px var(--accent-color-2);
}

/* Footer */
footer {
    background: #02061a;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-links a {
    margin: 0 1rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .features-table td {
        display: block;
        width: 100%;
        border: none;
        padding: 0.5rem 1.5rem;
    }

    .features-table td:first-child {
        padding-top: 1.5rem;
        color: var(--primary-color);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .features-table td:last-child {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}