@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    .about-image {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .image-container {
        height: 220px;
        min-height: 160px;
        max-width: 100%;
        border-radius: var(--border-radius);
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 140px;
        min-height: 100px;
    }
        .about-image {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}
/* ===== FIX FOR NAVBAR OVERLAP ON GAMES SECTION ===== */
.scandipix-section {
    padding-top: 7rem;
}

@media (max-width: 768px) {
    .scandipix-section {
        padding-top: 5.5rem;
    }
}
/* ===== FJOLLU GAME PREVIEW STYLES ===== */
.fjollu-game-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem 0.5rem;
    transition: var(--transition);
}

.fjollu-game-frame {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #181828;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fjollu-game-iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
    border-radius: var(--border-radius);
    background: #111122;
    box-shadow: none;
    transition: box-shadow 0.3s;
}

@media (max-width: 992px) {
    .fjollu-game-frame {
        max-width: 100%;
        aspect-ratio: 16/9;
    }
    .fjollu-game-iframe {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .fjollu-game-frame {
        aspect-ratio: 1/1;
    }
    .fjollu-game-iframe {
        min-height: 180px;
    }
}
/* 
   Scandipix.click CSS
   Theme: Blend of diamond, gem, and Dracula elements
*/

/* ===== VARIABLES ===== */
:root {
    /* Main colors */
    --primary-color: #6a1b9a;       /* Deep purple for Dracula theme */
    --secondary-color: #00bcd4;     /* Cyan for gem highlights */
    --accent-color: #f50057;        /* Pink/red for contrast */
    --diamond-color: #e0f7fa;       /* Light cyan for diamond elements */
    
    /* Background colors */
    --bg-dark: #1a1a2e;             /* Dark blue-purple for backgrounds */
    --bg-medium: #2d2d42;           /* Medium dark for cards */
    --bg-light: #3a3a5a;            /* Lighter dark for hover states */
    
    /* Text colors */
    --text-light: #ffffff;
    --text-muted: #b0b0cc;
    --text-dark: #121212;
    
    /* Other */
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-header .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 27, 154, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    background: linear-gradient(135deg, var(--diamond-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-color));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--text-light), var(--diamond-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

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

.hero-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-diamond,
.floating-gem,
.floating-bat {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.floating-diamond {
    top: 20%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: url('../img/diamond.svg') center/contain no-repeat;
    animation-delay: 0s;
}

.floating-gem {
    bottom: 25%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: url('../img/gem.svg') center/contain no-repeat;
    animation-delay: 2s;
}

.floating-bat {
    top: 30%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: url('../img/bat.svg') center/contain no-repeat;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 6rem 0;
    background-color: var(--bg-medium);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.svg') center/300px repeat;
    opacity: 0.05;
    pointer-events: none;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.image-container {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    background: url('../img/about.png') center/cover no-repeat;
    box-shadow: var(--box-shadow);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-medium), transparent);
    pointer-events: none;
}

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

.feature-card {
    background-color: var(--bg-medium);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--box-shadow);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    opacity: 0.2;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ===== GAMES SECTION ===== */
.games {
    padding: 6rem 0;
    background-color: var(--bg-medium);
}

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

.game-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
}

.diamond-slot {
    background: url('../img/diamond-slot.jpg') center/cover no-repeat;
}

.dracula {
    background: url('../img/dracula.jpg') center/cover no-repeat;
}

.gem-slot {
    background: url('../img/gem-slot.jpg') center/cover no-repeat;
}

.game-content {
    padding: 1.5rem;
}

.game-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.game-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.game-disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== NOTICE SECTION ===== */
.notice {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    text-align: center;
}

.notice-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.notice-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem;
}

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

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-about p {
    color: var(--text-muted);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.age-disclaimer {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* ===== POPUP ===== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background-color: var(--bg-medium);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.popup-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 1.5rem;
    text-align: center;
}

.popup-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.popup-body {
    padding: 2rem;
}

.popup-body p {
    margin-bottom: 1rem;
}

.popup-footer {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .image-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .popup-footer {
        flex-direction: column;
    }
}