
/* =========================================
   1. CSS Reset & Variables (Modern Setup)
   ========================================= */
:root {
    /* Color Palette - Dark "Casino" Theme */
    --color-bg-main: #0f172a; /* Deep Slate */
    --color-bg-card: #1e293b; /* Darker Slate */
    --color-bg-input: #334155;
    
    --color-primary: #8b5cf6; /* Violet Neon */
    --color-primary-hover: #7c3aed;
    --color-accent: #f59e0b; /* Gold */
    --color-accent-hover: #d97706;
    
    --color-text-main: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-border: #334155;

    /* Typography */
    --font-family-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    --font-size-h1: clamp(2rem, 5vw, 3.5rem);
    --font-size-h2: clamp(1.5rem, 4vw, 2.5rem);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --gap-base: 1.5rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 15px rgba(139, 92, 246, 0.5);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* =========================================
   2. Layout & Container
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

#page.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Skip link for accessibility (hidden visually until focused) */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 1rem;
    background: var(--color-accent);
    color: #000;
    padding: 1rem;
    z-index: 9999;
}
.skip-link:focus {
    top: 1rem;
}

/* Screen reader text utility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================================
   3. Header Styling
   ========================================= */
.site-header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-base);
}

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

.site-logotype {
    /* Placeholder for logo styling if image existed */
    width: 150px;
    height: 40px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-sm);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Ctext y='15' font-family='sans-serif' font-weight='bold' font-size='14'%3EAZINO 777%3C/text%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Ctext y='15' font-family='sans-serif' font-weight='bold' font-size='14'%3EAZINO 777%3C/text%3E%3C/svg%3E") no-repeat center;
}

/* Search Form */
.mob-search .search-form {
    display: flex;
    align-items: center;
    background: var(--color-bg-input);
    border-radius: 2rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid transparent;
    transition: var(--transition-base);
}

.mob-search .search-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.search-form__text {
    background: transparent;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    outline: none;
    font-size: 0.9rem;
    width: 150px;
    transition: width 0.3s ease;
}

.search-form__text:focus {
    width: 200px;
}

.search-form__submit {
    background: var(--color-primary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form__submit::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-radius: 50%;
}
.search-form__submit::after {
    content: '';
    display: block;
    width: 2px;
    height: 6px;
    background: white;
    transform: rotate(-45deg) translate(3px, -2px);
    position: absolute;
    bottom: 6px;
    right: 8px;
}

.search-form__submit:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.1);
}

/* Hamburger Menu */
.mob-hamburger {
    display: none; /* Usually shown on mobile */
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.mob-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-base);
}

.mob-hamburger span::before,
.mob-hamburger span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-base);
}

.mob-hamburger span::before { top: -8px; }
.mob-hamburger span::after { bottom: -8px; }

/* =========================================
   4. Content & Article Styling
   ========================================= */
.site-content {
    margin-top: 3rem;
    padding-bottom: 3rem;
}

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

.entry-title {
    font-size: var(--font-size-h1);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.page-separator {
    height: 2px;
    width: 100px;
    background: var(--color-accent);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.entry-content {
    font-size: 1.125rem;
    color: #cbd5e1;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h3 {
    font-size: var(--font-size-h2);
    color: var(--color-text-main);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--color-accent);
}

.entry-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.entry-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.entry-content ul li::before {
    content: '►';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-size: 0.8em;
    top: 0.2em;
}

/* Buttons */
.wp-block-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-box .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6d28d9 100%);
    border-radius: 3rem;
    box-shadow: 0 10px 20px -10px rgba(124, 58, 237, 0.5);
    transition: var(--transition-base);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b45309 100%);
    z-index: -1;
    transition: var(--transition-base);
    opacity: 0;
}

.btn-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(124, 58, 237, 0.7);
}

.btn-box .btn:hover::before {
    opacity: 1;
}

.btn-box .btn:active {
    transform: translateY(0);
}

/* Images */
figure.wp-block-image {
    margin: 3rem 0;
    display: block;
}

figure.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

figure.wp-block-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

/* =========================================
   5. Comments Area
   ========================================= */
.comments-area {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

.comment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-box {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-base);
}

.comment-box:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-md);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
}

.comment-meta {
    display: flex;
    flex-direction: column;
}

.comment-author {
    font-style: normal;
    font-weight: 700;
    color: var(--color-text-main);
}

.comment-time {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.comment-text {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.comment-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.comment-reply-link {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-reply-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* =========================================
   6. Responsive & Media Queries
   ========================================= */
@media screen and (max-width: 768px) {
    /* Header adjustments */
    .site-header-inner {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .mob-hamburger {
        display: block;
        order: 1;
    }
    
    .site-branding {
        order: 2;
        margin: 0 auto;
    }
    
    .mob-search {
        order: 3;
        width: 100%;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-form__text {
        width: 100%;
    }
    
    .search-form__text:focus {
        width: 100%;
    }

    /* Content adjustments */
    .btn-box .btn {
        width: 100%;
        text-align: center;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    /* Comments adjustments */
    .comment-box {
        padding: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .comment-avatar {
        margin-bottom: 0.5rem;
    }
}
