/**
 * CS2 Skins Marketplace - Content Typography Styles
 * Base styles for content elements
 * 
 * @package CS2Skins
 * @version 1.0.0
 */

/* ===========================================
   HEADINGS
   =========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Saira Semi Condensed', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cs2-accent-orange) 0%, var(--cs2-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    
}

h3 {
    font-size: 1.75rem;
    
}

h4 {
    font-size: 1.5rem;
   
}

h5 {
    font-size: 1.25rem;
   
}

h6 {
    font-size: 1.125rem;
   
}

/* ===========================================
   TEXT ELEMENTS
   =========================================== */

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1rem;
}

span {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

strong, b {
    font-weight: 600;
   
}

em, i {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

small {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

 

/* ===========================================
   LISTS
   =========================================== */

ul, ol {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
   
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: 0.5rem;
}

li:last-child {
    margin-bottom: 0;
}

/* Nested lists */
ul ul, ol ul {
    list-style-type: circle;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

ul ol, ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Custom list styling with orange bullets */
.content ul li::marker {
    color: var(--cs2-accent-orange);
}

/* ===========================================
   BLOCKQUOTES
   =========================================== */

blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--cs2-accent-orange);
    background: rgba(255, 145, 0, 0.05);
    border-radius: 0 8px 8px 0;
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    font-size: 0.875rem;
    font-style: normal;
    color: var(--cs2-accent-orange);
    margin-top: 1rem;
}

blockquote cite::before {
    content: '— ';
}

/* ===========================================
   CODE
   =========================================== */

code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--cs2-accent-orange);
    background: rgba(255, 145, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

pre {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #ffffff;
    background: var(--cs2-bg-primary);
    border: 1px solid var(--cs2-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
    color: #ffffff;
}

/* ===========================================
   HORIZONTAL RULE
   =========================================== */

hr {
    border: 0;
    height: 1px;
    background: var(--cs2-border);
    margin: 2rem 0;
}

hr.divider-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cs2-accent-orange) 50%, transparent 100%);
}

/* ===========================================
   TABLES
   =========================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-family: 'Inter', sans-serif;
}

table thead {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 2px solid var(--cs2-border);
}

table th {
    padding: 0.75rem 1rem;
    font-family: 'Saira Semi Condensed', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cs2-accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

table td {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--cs2-border);
}

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

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

/* ===========================================
   IMAGES
   =========================================== */

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

figure {
    margin: 1.5rem 0;
}

figcaption {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 0.5rem;
}

/* ===========================================
   FORM ELEMENTS (Basic)
   =========================================== */

label {
    display: block;
    font-family: 'Saira Semi Condensed', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    background: var(--cs2-bg-secondary);
    border: 1px solid var(--cs2-border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--cs2-accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 145, 0, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

 

/* ===========================================
   UTILITY CLASSES
   =========================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--cs2-accent-orange) 0%, var(--cs2-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-orange {
    color: var(--cs2-accent-orange);
}

.text-gold {
    color: var(--cs2-accent-gold);
}

.text-muted {
    color: rgba(255, 255, 255, 0.6);
}

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

.text-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===========================================
   RESPONSIVE TYPOGRAPHY
   =========================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    p, ul, ol {
        font-size: 0.9375rem;
    }
    
    blockquote {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
    }
}
