
/* =========================================
   1. CSS Reset & Variables
   ========================================= */
:root {
    /* Colors */
    --primary-color: #ff5402;
    --primary-hover: #e04800;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-primary: 0 4px 14px 0 rgba(255, 84, 2, 0.39);
    
    /* Transitions */
    --transition-base: all 0.3s 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);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   2. Layout & Containers
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.site-content {
    margin-top: 2rem;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.8s ease-out;
}

.content-area {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* =========================================
   3. Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-top: 3rem;
    position: relative;
    padding-bottom: 0.75rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: var(--primary-color);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 500;
}

a:hover, a:focus {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* =========================================
   4. Content Elements
   ========================================= */
/* Article Wrapper */
.entry-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.btn-box {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff !important;
    background: var(--primary-color); /* Fallback */
    background: linear-gradient(45deg, var(--primary-color), #ff7836);
    border-radius: 50px;
    box-shadow: var(--shadow-primary);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff7836, var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(255, 84, 2, 0.4);
    text-decoration: none;
}

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

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(255, 84, 2, 0.3);
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

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

th {
    background-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

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

tr:nth-child(even) {
    background-color: rgba(241, 245, 249, 0.5);
}

tr:hover td {
    background-color: rgba(255, 84, 2, 0.05);
}

/* Lists */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Blockquotes */
blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    position: relative;
}

blockquote p {
    margin-bottom: 0;
}

blockquote.check {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 5px solid var(--success-color);
}

blockquote.check::before {
    content: '✓';
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--success-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
}

blockquote.quote {
    background-color: #f1f5f9;
    border-left: 5px solid var(--primary-color);
    font-style: italic;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    display: block;
    margin: 1.5rem auto;
}

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

/* =========================================
   5. Footer & Navigation
   ========================================= */
.site-footer {
    background-color: var(--secondary-color);
    color: #cbd5e1;
    padding: 3rem 0;
    margin-top: auto;
    border-top: 4px solid var(--primary-color);
}

.site-footer-inner {
    text-align: center;
}

.footer-info {
    font-size: 0.9rem;
}

.scrolltop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0.8;
    transition: var(--transition-base);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrolltop::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-left: 2px solid white;
    transform: rotate(45deg);
    margin-top: 4px;
}

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

/* =========================================
   6. Animation Keyframes
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   7. Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .entry-content {
        padding: 1rem;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .scrolltop {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    blockquote {
        padding: 1rem;
    }
    
    h2::after {
        width: 40px;
    }
}

/* =========================================
   8. Specific Classes Overrides
   ========================================= */
.pay-methods td {
    vertical-align: middle;
}

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

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