/* ============================================
   MAIN CSS - Core Styles & Layout
   ============================================ */

/* ============================================
   CUSTOM FONTS
   ============================================ */
@font-face {
    font-family: 'Optimus Princeps';
    src: url('../fonts/optimus_princeps/OptimusPrinceps.ttf') format('truetype');
}

@font-face {
    font-family: 'Philosopher';
    src: url('../fonts/philosopher/Philosopher-Regular.ttf') format('truetype');
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-gold: #d4af37;
    --primary-red: #660000;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #e0e0e0;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Philosopher', serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

.optimus-font {
    font-family: 'Optimus Princeps', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAZRALATH HERO SECTION
   ============================================ */
.naz-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/games/nazralath/image.psd.png') center/cover;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.naz-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%, 
        var(--darker-bg) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.naz-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 10%;
    position: relative;
    z-index: 2;
}

.naz-logo {
    max-height: 200px;
    width: auto;
}

.naz-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.naz-btn {
    width: 256px;
    height: 120px;
    padding: 0;
    background: url('../images/ui/T_UI_RectangleButton_v2.webp') center/contain no-repeat;
    border: none;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    position: relative;
}

.naz-btn i {
    font-size: 1.75rem;
    transition: color 0.3s ease;
}

.naz-btn:hover {
    transform: scale(1.05);
    color: var(--text-light);
}

.naz-btn:hover i {
    color: var(--primary-red);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 4rem 0;
    background: var(--darker-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--primary-red);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-red);
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
    padding: 4rem 0;
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: url("../images/ui/T_Website_NewsBox.webp") center/contain no-repeat;
    background-size: contain;
    background-position: center;
    text-decoration: none;
    padding: 9.5%;
    aspect-ratio: 377 / 329;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-card p {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.news-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-red);
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-card .read-more:hover {
    background: #880000;
    transform: translateX(5px);
}

.news-card .read-more i {
    transition: transform 0.3s ease;
}

.news-card .read-more:hover i {
    transform: translateX(4px);
}