
/* =========================================
   1. Reset & Variables
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #2289e4;
    --primary-dark: #1b6fb8;
    --primary-light: #5baef5;
    --accent-color: #2ecc71; /* Green for success/money vibes */
    --accent-hover: #27ae60;
    
    --bg-body: #0f121f;
    --bg-card: #161d30;
    --bg-input: #0b0e17;
    
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --text-highlight: #f1c40f;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-base: 1rem;
    --line-height: 1.6;

    /* Spacing & Sizes */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(34, 137, 228, 0.3);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* =========================================
   2. Layout & Grid System
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.col-xs-12 {
    width: 100%;
    flex: 0 0 100%;
}

.pa-0 {
    padding: 0 !important;
}

.center, .text-center {
    text-align: center;
}

/* =========================================
   3. Header & Logo
   ========================================= */
header.bg-bk {
    background: linear-gradient(180deg, rgba(22, 29, 48, 0.95) 0%, var(--bg-body) 100%);
    padding: var(--spacing-md) 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(34, 137, 228, 0.4));
    transition: transform var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h1 span {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

/* =========================================
   4. Promo Card Component
   ========================================= */
.item-promo-kod {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-md) auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.item-promo-kod::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.item-promo-kod:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.item-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.item-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.item-title.color {
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
}

.item-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.item-mini .item-text {
    color: var(--accent-color);
}

.item-copy {
    background: var(--bg-input);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 1px dashed var(--text-muted);
    transition: all var(--transition-fast);
    margin-top: var(--spacing-sm);
}

.item-copy:hover {
    border-color: var(--primary-color);
    background: rgba(34, 137, 228, 0.1);
}

.item-copy p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.promo-text {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
}

/* =========================================
   5. Buttons & Interactions
   ========================================= */
.button.href-site {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(34, 137, 228, 0.3);
    transition: all var(--transition-smooth);
    margin: var(--spacing-md) 0;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.button.href-site:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 137, 228, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.button.href-site:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(34, 137, 228, 0.3);
}

/* Ripple effect micro-animation */
.button.href-site::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button.href-site:hover::after {
    width: 300px;
    height: 300px;
}

/* =========================================
   6. Content Typography
   ========================================= */
.content {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-main);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-main);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-sm);
    color: #d1d5db;
    font-size: 1.05rem;
    text-align: justify;
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: 1.5rem;
    color: #d1d5db;
}

li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Stylized List Markers */
ul li::marker {
    color: var(--primary-color);
}

ol li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

strong {
    color: #fff;
}

/* =========================================
   7. Tables
   ========================================= */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--spacing-md) 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

th {
    background: rgba(34, 137, 228, 0.1);
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* =========================================
   8. Images
   ========================================= */
.img {
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-smooth);
}

.img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.img:hover {
    transform: scale(1.02);
}

/* Lazyload Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   9. Footer
   ========================================= */
footer {
    background-color: var(--bg-input);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
    text-align: center;
}

/* =========================================
   10. Mobile & Responsive
   ========================================= */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
    }

    .item-promo-kod {
        padding: 1rem;
    }

    .promo-text {
        font-size: 1.2rem;
    }

    h2 {
        border-left-width: 3px;
    }

    /* Make table scrollable on small screens */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .button.href-site {
        width: 100%;
        padding: 1rem;
    }
}
