
/* =========================================
   1. Reset & Variables
   ========================================= */
:root {
    /* Colors - Dark Gaming/Casino Theme */
    --c-bg-body: #0f1219;
    --c-bg-surface: #1a1f2b;
    --c-bg-input: #232936;
    
    --c-primary: #ff4b1f; /* Fiery Orange */
    --c-primary-gradient: linear-gradient(135deg, #ff4b1f 0%, #ff9068 100%);
    --c-secondary: #00d2ff; /* Cyber Blue */
    
    --c-text-main: #f0f0f0;
    --c-text-muted: #a0a4b0;
    --c-border: #2e3545;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fw-regular: 400;
    --fw-bold: 700;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --gap-sm: 0.5rem;
    --gap-md: 1rem;
    --gap-lg: 2rem;
    --gap-xl: 4rem;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-card: 0 10px 30px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 20px rgba(255, 75, 31, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--c-bg-body);
    color: var(--c-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. Typography & Common Elements
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
    font-weight: var(--fw-bold);
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--c-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    border-left: 4px solid var(--c-primary);
    padding-left: 1rem;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--c-text-muted);
}

a {
    color: var(--c-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap-md);
}

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

/* =========================================
   3. Header Styling
   ========================================= */
.site-header {
    background: rgba(26, 31, 43, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Search Form */
.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form__text {
    background: var(--c-bg-input);
    border: 1px solid var(--c-border);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    width: 200px;
    transition: var(--transition-fast);
    outline: none;
}

.search-form__text:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 2px rgba(255, 75, 31, 0.2);
    width: 240px;
}

.search-form__submit {
    position: absolute;
    right: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0a4b0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.search-form__submit:hover {
    opacity: 1;
}

/* =========================================
   4. Main Content Area
   ========================================= */
.site-content {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

article {
    background: var(--c-bg-surface);
    border-radius: var(--radius-md);
    padding: 2rem; /* Initial padding */
    box-shadow: var(--shadow-card);
    border: 1px solid var(--c-border);
}

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

.page-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-border), transparent);
    margin: 2rem 0;
}

/* =========================================
   5. Buttons (CTA)
   ========================================= */
.wp-block-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.btn-box {
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--c-primary-gradient);
    color: white !important;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 75, 31, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn:hover, .btn:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn:active {
    transform: translateY(-1px);
}

/* Shine Effect on Button */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

/* =========================================
   6. Images & Media
   ========================================= */
.wp-block-image {
    margin: 2.5rem 0;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.wp-block-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth);
    width: 100%;
    height: auto;
    border: 1px solid var(--c-border);
}

.wp-block-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* =========================================
   7. Lists
   ========================================= */
.wp-block-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.wp-block-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--c-text-main);
}

.wp-block-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* =========================================
   8. Comments Section
   ========================================= */
.comments-area {
    margin-top: 4rem;
    background: var(--c-bg-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-border);
}

.comment-reply-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--c-text-muted);
    font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--c-bg-input);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    transition: var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(255, 75, 31, 0.1);
}

.comment-smiles img {
    display: inline-block;
    cursor: pointer;
    margin: 2px;
    transition: transform 0.2s;
}

.comment-smiles img:hover {
    transform: scale(1.2);
}

.form-submit .submit {
    background: var(--c-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.form-submit .submit:hover {
    background: #e03e1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 31, 0.3);
}

/* =========================================
   9. Footer
   ========================================= */
.site-footer {
    background: #080a0e;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--c-border);
    color: var(--c-text-muted);
    text-align: center;
    font-size: 0.9rem;
}

.footer-info {
    opacity: 0.7;
}

/* =========================================
   10. Utilities & Micro-animations
   ========================================= */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scroll to top button */
.scrolltop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--c-bg-surface);
    border: 1px solid var(--c-primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
    opacity: 0.8;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrolltop::before {
    content: '↑';
    color: var(--c-primary);
    font-size: 1.5rem;
}

.scrolltop:hover {
    opacity: 1;
    background: var(--c-primary);
    transform: translateY(-5px);
}
.scrolltop:hover::before {
    color: #fff;
}

/* =========================================
   11. Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    /* Header layout */
    .site-header-inner {
        flex-wrap: wrap;
    }
    
    .mob-search {
        width: 100%;
        margin-top: 1rem;
        order: 3;
    }
    
    .search-form__text {
        width: 100%;
    }
    
    .search-form__text:focus {
        width: 100%;
    }

    /* Typography adjustment */
    h1 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    /* Content spacing */
    article {
        padding: 1.5rem;
    }
    
    .comments-area {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%; /* Full width buttons on mobile */
        padding: 0.8rem;
    }
    
    .wp-block-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-box {
        width: 100%;
        display: block;
    }
    
    /* Hamburger Menu Placeholder */
    .mob-hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }
    
    .mob-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mob-hamburger::before,
    .mob-hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: #fff;
        left: 0;
    }
    
    .mob-hamburger::before { top: 0; }
    .mob-hamburger::after { bottom: 0; }
}

@media (max-width: 480px) {
    article {
        padding: 1rem;
    }
    
    .site-content {
        margin-top: 1.5rem;
    }
}
