
/* =========================================
   1. Reset & Variables
   ========================================= */
:root {
    /* Color Palette - Dark Gaming Theme */
    --bg-body: #0b0c10;
    --bg-card: #1f2833;
    --bg-header: #050608;
    --bg-input: #151922;
    
    --primary: #c5c6c7;
    --primary-accent: #66fcf1; /* Cyan Neon */
    --secondary-accent: #45a29e;
    
    --fire-gradient: linear-gradient(135deg, #ff4b1f 0%, #ff9068 100%);
    --gold-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    --dark-gradient: linear-gradient(180deg, #1f2833 0%, #0b0c10 100%);

    --text-main: #ffffff;
    --text-muted: #8892b0;
    --text-dark: #0b0c10;

    --success: #2ecc71;
    --danger: #e74c3c;

    /* Spacing & Sizing */
    --container-width: 1200px;
    --gap: 1.5rem;
    --border-radius: 12px;
    --border-radius-sm: 6px;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --fz-base: clamp(0.875rem, 1vw + 0.5rem, 1rem);
    --fz-h1: clamp(1.5rem, 3vw + 1rem, 2.5rem);
    --fz-h2: clamp(1.25rem, 2vw + 1rem, 2rem);
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 15px rgba(102, 252, 241, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. Layout & Grid Utility (Bootstrap Shim)
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

[class^="col-"], .col {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    position: relative;
    width: 100%;
}

.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

/* Alignments */
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.no-gutters { margin-right: 0; margin-left: 0; }
.no-gutters > .col, .no-gutters > [class*="col-"] { padding-right: 0; padding-left: 0; }

/* Spacing Utilities */
.pt-5 { padding-top: 0.3125rem; }
.pt-10 { padding-top: 0.625rem; }
.pt-15 { padding-top: 0.9375rem; }
.pt-20 { padding-top: 1.25rem; }
.pb-10 { padding-bottom: 0.625rem; }
.pb-20 { padding-bottom: 1.25rem; }
.pb-30 { padding-bottom: 1.875rem; }
.pb-15 { padding-bottom: 0.9375rem; }

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }

/* Responsive Media Queries for Grid & Display */
@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
    .text-md-left { text-align: left !important; }
    .text-md-right { text-align: right !important; }
    .d-md-block { display: block !important; }
    .d-md-none { display: none !important; }
    .pt-md-0 { padding-top: 0 !important; }
    .pb-md-0 { padding-bottom: 0 !important; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
    .d-lg-block { display: block !important; }
    .d-lg-none { display: none !important; }
}

/* =========================================
   3. Header & Navigation
   ========================================= */
.heder {
    background-color: var(--bg-header);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    display: inline-block;
    width: 150px;
    height: 50px;
    background: url('path/to/logo.png') no-repeat center/contain; /* Placeholder styling */
    background-color: rgba(255,255,255,0.1); /* Fallback */
    border-radius: var(--border-radius-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 1.5em;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
    margin: 0.25rem;
}

.btn-regist {
    background: var(--fire-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 75, 31, 0.4);
}

.btn-regist:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 31, 0.6);
}

.btn-voiti {
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
}

.btn-voiti:hover {
    background: var(--primary-accent);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow);
}

.open-menu {
    width: 40px;
    height: 40px;
    background: #333;
    position: relative;
    cursor: pointer;
}
.open-menu::before {
    content: '☰';
    color: white;
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Secondary Navigation */
.navigation {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navigation-bg {
    padding: 0.5rem 0;
}

.navigation .item a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius-sm);
}

.navigation .item a:hover,
.navigation .item a.active {
    background-color: rgba(255,255,255,0.05);
    color: var(--primary-accent);
}

/* =========================================
   4. Banners & Pre-headers
   ========================================= */
.pre-header-dovnload {
    background: linear-gradient(90deg, #1cb5e0 0%, #000851 100%);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    color: white;
}

.pre-header-dovnload-v2 {
    background: linear-gradient(90deg, #FDC830 0%, #F37335 100%);
    color: #000;
}

.text-box {
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
    min-width: 200px;
}

.button_pp {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    position: relative;
}
.button_pp::after {
    content: '➜';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.owl-carousel .item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   5. Winners / Jackpot Section
   ========================================= */
.main_menu_winners {
    background: var(--bg-card);
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-accent);
    box-shadow: inset 0 0 20px rgba(69, 162, 158, 0.2);
}

.main_menu_winners-call {
    display: flex;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-accent);
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

.cifra, .brecpoint, .valuta {
    padding: 0 2px;
}

/* =========================================
   6. Games Grid
   ========================================= */
.games_list {
    padding: 2rem 0;
}

.games_list .item {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    margin-bottom: var(--gap);
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Placeholder for game image */
    min-height: 220px;
    background-image: linear-gradient(to bottom, #2c3e50, #000); 
    box-shadow: var(--shadow-sm);
}

.games_list .item::before {
    content: '🎰'; /* Placeholder icon */
    font-size: 4rem;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.games_list .item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: var(--primary-accent);
    z-index: 2;
}

.games_list .title {
    padding: 0.5rem;
    text-align: center;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
}

.games_list .btn {
    margin: 0.5rem;
    font-size: 0.75rem;
    padding: 0.5em 1em;
    opacity: 0; /* Hidden by default */
    transform: translateY(20px);
}

.games_list .item:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

.games_list .plau-game {
    background: var(--fire-gradient);
    color: white;
}

.games_list .plau-demo {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.btn-game-color {
    background: var(--gold-gradient);
    color: #000;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 5px 25px rgba(247, 151, 30, 0.4);
}

/* =========================================
   7. Main Content & Typography
   ========================================= */
.main_content {
    color: var(--text-muted);
    font-size: var(--fz-base);
    padding-bottom: 3rem;
}

h1, h2, h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: var(--fz-h1); }
h2 { font-size: var(--fz-h2); margin-top: 2rem; }

p { margin-bottom: 1rem; }

a { color: var(--primary-accent); }
a:hover { color: #fff; text-shadow: 0 0 8px var(--primary-accent); }

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

td, th {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: top;
}

tr:nth-child(even) { background-color: rgba(255,255,255,0.02); }
tr:hover { background-color: rgba(255,255,255,0.05); }

td:first-child {
    font-weight: 600;
    color: var(--text-main);
    width: 30%;
}

/* =========================================
   8. Forms & Subscription
   ========================================= */
.content-form {
    background: var(--dark-gradient);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.form-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.form-group { flex: 1; min-width: 250px; }

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: var(--bg-input);
    border: 1px solid #333;
    border-radius: 50px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(102, 252, 241, 0.1);
}

.btn-submit, input[type="submit"] {
    width: 100%;
    cursor: pointer;
}

.status-message.success { color: var(--success); margin-top: 0.5rem; }
.status-message.error { color: var(--danger); margin-top: 0.5rem; }

/* =========================================
   9. FAQ Section
   ========================================= */
#faq {
    margin-top: 3rem;
}

#faq .item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

#faq .question {
    display: block;
    padding: 1.2rem;
    cursor: pointer;
    background-color: rgba(255,255,255,0.03);
    color: var(--text-main);
    position: relative;
    padding-right: 3rem;
    transition: var(--transition);
}

#faq .question::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-accent);
}

#faq .question:hover {
    background-color: rgba(255,255,255,0.06);
}

#faq .question.hide::after { content: '-'; }

#faq .answer {
    padding: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

#faq .answer.hide {
    display: none;
}

/* =========================================
   10. Footer
   ========================================= */
.footer {
    background-color: #000;
    padding-top: 3rem;
    border-top: 3px solid var(--primary-accent);
    font-size: 0.9rem;
    color: #666;
}

.footer p { margin-bottom: 0.5rem; }

.footer span {
    color: var(--text-main);
    font-weight: bold;
    margin-right: 0.5rem;
}

.footer .title a {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

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

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

/* =========================================
   11. Micro-Animations
   ========================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.item, .content-form, h1, .pre-header-dovnload {
    animation: fadeIn 0.6s ease-out forwards;
}
