
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: #e4e4e4;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            text-align: center;
            padding: 10px 0;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            margin-bottom: 10px;
        }
        
        h1 {
            font-size: 2em;
            color: #ff6b6b;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            margin-bottom: 5px;
        }
        
        .tagline {
            font-size: 1.2em;
            color: #a8dadc;
            text-align: center;
        }
        
        .game-container {
            /* background: rgba(0, 0, 0, 0.4);
            border-radius: 15px; */
            margin-bottom: 40px;
        }
        
        .game-iframe {
            width: 100%;
            height: 700px;
            border: none;
            border-radius: 10px;
            background: #000;
        }
        
        .game-info-card {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(168, 218, 220, 0.1) 100%);
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 107, 107, 0.3);
        }
        
        .info-title {
            text-align: center;
            color: #ff6b6b;
            font-size: 2em;
            margin-bottom: 30px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .info-item {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            padding: 20px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .info-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
            border-color: rgba(255, 107, 107, 0.5);
        }
        
        .info-icon {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
        }
        
        .info-content {
            flex: 1;
        }
        
        .info-label {
            font-size: 0.85em;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 5px;
        }
        
        .info-value {
            font-size: 1.1em;
            color: #e4e4e4;
            font-weight: 600;
        }
        
        .rating-stars {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 5px;
        }
        
        .rating-text {
            margin-left: 10px;
            font-size: 1.1em;
            color: #ffc107;
            font-weight: bold;
        }
        
        .rating-count {
            font-size: 0.85em;
            color: #888;
            font-weight: normal;
        }
        
        .article-section {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 40px;
            backdrop-filter: blur(10px);
        }
        
        h2 {
            color: #ff6b6b;
            font-size: 2em;
            margin-bottom: 20px;
            border-bottom: 3px solid #ff6b6b;
            padding-bottom: 10px;
        }
        
        h3 {
            color: #a8dadc;
            font-size: 1.5em;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        p {
            margin-bottom: 15px;
            font-size: 1.1em;
            text-align: justify;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .feature-card {
            background: rgba(255, 107, 107, 0.1);
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid #ff6b6b;
        }
        
        .feature-card h4 {
            color: #ff6b6b;
            margin-bottom: 10px;
        }
        
        ul {
            margin-left: 20px;
            margin-bottom: 15px;
        }
        
        li {
            margin-bottom: 8px;
        }
        
        .tips-box {
            background: rgba(168, 218, 220, 0.1);
            border: 2px solid #a8dadc;
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
        }
        
        footer {
            text-align: center;
            padding: 20px;
            margin-top: 40px;
            color: #888;
        }
        
        .faq-container {
            margin: 20px 0;
        }
        
        .faq-item {
            background: rgba(255, 255, 255, 0.03);
            border-left: 4px solid #ff6b6b;
            padding: 20px;
            margin-bottom: 15px;
            border-radius: 5px;
        }
        
        .faq-item h4 {
            color: #a8dadc;
            margin-bottom: 10px;
            font-size: 1.1em;
        }
        
        .faq-item p {
            margin: 0;
        }
        
        .safety-section {
            background: rgba(255, 193, 7, 0.1);
            border: 2px solid #ffc107;
            border-radius: 10px;
            padding: 25px;
            margin: 20px 0;
        }
        
        .safety-points {
            margin-top: 15px;
        }
        
        .safety-points h4 {
            color: #ffc107;
            margin-top: 20px;
            margin-bottom: 10px;
        }
        
        .similar-games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .game-card {
            background: rgba(168, 218, 220, 0.1);
            padding: 20px;
            border-radius: 10px;
            border: 1px solid rgba(168, 218, 220, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(168, 218, 220, 0.2);
        }
        
        .game-card h4 {
            color: #a8dadc;
            margin-bottom: 10px;
            font-size: 1.2em;
        }
        
        .game-card p {
            margin: 0;
            font-size: 0.95em;
        }

      .game-card:has(a) {
            background: rgb(195 109 109 / 30%);
            padding: 20px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }
        
        .game-card:has(a):hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
            border: rgba(255, 107, 107, 0.5);
        }
        
        .game-card:has(a) h4 {
            color: rgb(255, 107, 107);
            margin-bottom: 10px;
            font-size: 1.2em;
        }
        
        .game-card:has(a) p {
            margin: 0;
            font-size: 0.95em;
        }
        
        .footer-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .footer-links {
            margin: 15px 0;
            font-size: 1em;
        }
        
        .footer-links a {
            color: #a8dadc;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: #ff6b6b;
            text-decoration: underline;
        }
        
        .separator {
            margin: 0 10px;
            color: #666;
        }
        
        .disclaimer {
            margin-top: 15px;
            font-size: 0.9em;
            color: #666;
            font-style: italic;
        }

 .media-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin: 30px 0;
        }
        
        .video-container,
        .thumbnail-container {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            padding: 20px;
            border: 2px solid rgba(255, 107, 107, 0.3);
        }
        
        .video-container h3,
        .thumbnail-container h3 {
            margin-top: 0;
            margin-bottom: 15px;
            color: #ff6b6b;
            font-size: 1.3em;
        }
        
        .youtube-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        
        .youtube-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .thumbnail-wrapper {
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 10px;
            background: #1a1a2e;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }
        
        .thumbnail-wrapper svg {
            display: block;
            width: 100%;
            height: auto;
        }
        
        .video-caption,
        .thumbnail-caption {
            font-size: 0.9em;
            color: #a8dadc;
            font-style: italic;
            text-align: center;
            margin: 10px 0 0 0;
        }
       .thumbnail-container img {
              width: 100%
       }

/* Table of Contents Styling */
.toc-box {
    background: rgba(0, 0, 0, 0.2); /* Nafs style dyal header */
    border: 1px solid rgba(168, 218, 220, 0.2); /* Border khfif bhal tips-box */
    border-left: 5px solid #ff6b6b; /* Accent color bhal H2 underline */
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toc-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.toc-title {
    color: #a8dadc; /* Nafs loun dyal H3/Tagline */
    font-size: 1.4em;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toc-icon {
    margin-right: 10px;
    color: #ff6b6b; /* Icon b loun l'titre lkbir */
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 12px 20px;
}

.toc-list li {
    margin: 0;
}

.toc-link {
    color: #e4e4e4;
    text-decoration: none;
    font-size: 1.05em;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Hover effect: kaywali background khfif bhal l'game-card */
.toc-link:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    transform: translateX(5px); /* Animation sghira */
}

.toc-link::before {
    content: "►"; /* Arrow sghira */
    font-size: 0.7em;
    color: #a8dadc;
    margin-right: 8px;
    transition: color 0.3s ease;
}

.toc-link:hover::before {
    color: #ff6b6b;
}

/* Mobile Responsive adjustment */
@media (max-width: 600px) {
    .toc-list {
        grid-template-columns: 1fr;
    }
}

.game-card a {
       all: unset;
}
