/**
 * @package     Joomla.Site
 * @subpackage  Templates.lilwayne
 * @copyright   Copyright (C) 2014-2026 Lil Wayne Slots. All rights reserved.
 * @license     GNU General Public License version 2 or later
 */

/* ========================================================================
   Template: Lil Wayne Slots
   Version: 1.0.0
   Author: Lil Wayne Slots
   ======================================================================== */

/* --- T3 Framework Base Styles --- */

:root {
    --template-bg-dark: #0a0a0a;
    --template-bg-darker: #050505;
    --template-bg-card: #1a1a1a;
    --template-gold: #FFD700;
    --template-gold-dark: #CC9900;
    --template-gold-light: #FFE55C;
    --template-red: #E53935;
    --template-green: #4CAF50;
    --template-text: #f5f5f5;
    --template-text-muted: #aaa;
    --template-border: #8B7500;
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--template-bg-dark);
    color: var(--template-text);
    line-height: 1.7;
    min-height: 100vh;
}

/* Joomla article body */
body.com-content { background: var(--template-bg-dark); }
body.view-article { background: var(--template-bg-dark); }

/* --- Background Pattern --- */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(255,215,0,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(255,140,0,0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* --- Links --- */
a { color: var(--template-gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--template-gold-light); }
img { max-width: 100%; height: auto; }

/* --- Joomla Container Classes --- */
.t3-wrapper,
.container,
.container-fluid { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- T3 Header Module --- */
.t3-header,
.mod-header {
    background: linear-gradient(180deg, var(--template-bg-darker) 0%, var(--template-bg-dark) 100%);
    border-bottom: 1px solid var(--template-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* --- Logo Module --- */
.logo-module,
.mod-logo { display: flex; align-items: center; gap: 10px; }
.logo-module img { height: 45px; }

/* --- Menu Module (mod_menu) --- */
.mod-menu,
.nav-module { display: flex; gap: 30px; list-style: none; }

.mod-menu a,
.nav-module a {
    color: var(--template-text-muted);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.mod-menu a:hover,
.mod-menu a.active,
.nav-module a:hover,
.nav-module a.active {
    color: var(--template-gold);
    border-bottom-color: var(--template-gold);
}

/* --- Hero Module --- */
.mod-hero,
.hero-module {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
    border-bottom: 2px solid var(--template-border);
}

.mod-hero h1 {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 3.5rem;
    background: linear-gradient(180deg, var(--template-gold-light) 0%, var(--template-gold) 50%, var(--template-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.mod-hero p { font-size: 1.3rem; color: var(--template-text-muted); max-width: 700px; margin: 0 auto 30px; }

.hero-badge {
    display: inline-block;
    background: var(--template-red);
    color: white;
    padding: 8px 20px;
    border-radius: 0;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- Buttons (mod_custom) --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-gold {
    background: linear-gradient(180deg, var(--template-gold) 0%, var(--template-gold-dark) 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.btn-gold:hover {
    background: linear-gradient(180deg, var(--template-gold-light) 0%, var(--template-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
    color: #000;
}

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

.btn-outline:hover { background: var(--template-gold); color: #000; }

/* --- Joomla Article Styles --- */
.com-content-article,
.item-page {
    padding: 60px 0;
}

.com-content-article__body,
.item-page .item-content { max-width: 900px; margin: 0 auto; }

/* --- Card Module --- */
.mod-card,
.card {
    background: var(--template-bg-card);
    border: 1px solid #333;
    border-radius: 0;
    padding: 30px;
    transition: all 0.3s;
}

.mod-card:hover,
.card:hover {
    border-color: var(--template-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* --- Features Grid (mod_articles_category) --- */
.mod-features,
.features-section { padding: 80px 0; }

.mod-features h2,
.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--template-gold);
}

.features-grid,
.mod-articles-category {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item { text-align: center; padding: 40px 25px; }

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--template-gold) 0%, var(--template-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg { width: 28px; height: 28px; fill: #000; }

.feature-item h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--template-gold); }
.feature-item p { color: var(--template-text-muted); }

/* --- Screenshots Module --- */
.mod-gallery,
.screenshots-section {
    padding: 80px 0;
    background: var(--template-bg-darker);
}

.mod-gallery h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--template-gold); }

.gallery-grid,
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item,
.screenshot-item {
    border-radius: 0;
    overflow: hidden;
    border: 2px solid #333;
    transition: all 0.3s;
}

.gallery-item:hover,
.screenshot-item:hover { border-color: var(--template-gold); transform: scale(1.02); }

.gallery-item img,
.screenshot-item img { width: 100%; display: block; }

/* --- Game Info Layout --- */
.game-layout { padding: 80px 0; }

.game-layout-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.game-sidebar { position: sticky; top: 100px; }

.game-sidebar img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 3px solid var(--template-border);
}

.game-content h1 { font-size: 2.8rem; color: var(--template-gold); margin-bottom: 10px; }

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.meta-item { display: flex; align-items: center; gap: 8px; color: var(--template-text-muted); }
.meta-item strong { color: var(--template-gold); }

/* --- Rating Stars --- */
.rating { display: flex; align-items: center; gap: 10px; }
.stars { color: var(--template-gold); font-size: 1.2rem; }

/* --- Download Buttons --- */
.download-buttons { display: flex; flex-wrap: wrap; gap: 15px; margin: 30px 0; }

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn.amazon { background: #FF9900; color: #000; }
.download-btn.android { background: #3DDC84; color: #000; }
.download-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); color: #000; }

/* --- Content Sections --- */
.content-block { margin-bottom: 50px; }

.content-block h2 {
    font-size: 1.8rem;
    color: var(--template-gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--template-border);
}

.content-block h3 { font-size: 1.4rem; color: var(--template-gold-light); margin: 25px 0 15px; }
.content-block p { color: var(--template-text-muted); margin-bottom: 15px; }

.content-block ul { list-style: none; margin: 20px 0; }
.content-block ul li { padding: 10px 0 10px 30px; position: relative; color: var(--template-text-muted); }
.content-block ul li::before { content: '\2726'; position: absolute; left: 0; color: var(--template-gold); }

/* --- Info Box --- */
.info-box {
    background: var(--template-bg-card);
    border-left: 4px solid var(--template-gold);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0;
}

.info-box h4 { color: var(--template-gold); margin-bottom: 10px; }

/* --- Specs Table --- */
.specs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs-table tr { border-bottom: 1px solid #333; }
.specs-table td { padding: 15px 10px; }
.specs-table td:first-child { color: #666; width: 40%; }
.specs-table td:last-child { color: var(--template-text); }

/* --- T3 Footer Module --- */
.t3-footer,
.mod-footer {
    background: var(--template-bg-darker);
    border-top: 1px solid var(--template-border);
    padding: 50px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand p { color: var(--template-text-muted); margin-top: 15px; max-width: 350px; }
.footer-col h4 { color: var(--template-gold); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--template-text-muted); }
.footer-links a:hover { color: var(--template-gold); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* --- Responsive (T3 breakpoints) --- */
@media (max-width: 992px) {
    .game-layout-grid { grid-template-columns: 1fr; }
    .game-sidebar { position: static; max-width: 300px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 768px) {
    .t3-header .container { flex-direction: column; gap: 15px; }
    .mod-hero h1 { font-size: 2.5rem; }
    .mod-hero p { font-size: 1.1rem; }
    .mod-menu { gap: 20px; }
    .download-buttons { flex-direction: column; }
    .download-btn { justify-content: center; }
}

/* --- Joomla System Messages --- */
.system-message { padding: 10px 20px; margin: 10px 0; border-radius: 0; }
.system-message.notice { background: rgba(255,215,0,0.1); border: 1px solid var(--template-gold); }

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.lang-switcher a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--template-bg-card);
    border: 1px solid #333;
    color: var(--template-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.lang-switcher a:hover {
    border-color: var(--template-gold);
    color: var(--template-gold);
}

.lang-switcher a.active {
    background: var(--template-gold);
    border-color: var(--template-gold);
    color: #000;
}

/* End of template styles */
