@font-face {
    font-family: 'Rabar_021';
    src: url('../Rabar_021.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Color Palette */
    --bg-dark: #050505;
    --bg-dark-glass: rgba(5, 5, 5, 0.75);
    --bg-card: rgba(20, 20, 20, 0.4);
    --bg-nav: rgba(5, 5, 5, 0.6);
    
    --accent-gold: #FFC107;
    --accent-gold-glow: rgba(255, 193, 7, 0.3);
    --accent-gold-hover: #FFB300;
    --gradient-gold: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --text-muted: #666666;
    
    /* Layout & Spacing */
    --nav-height: 90px;
    --mobile-nav-height: 70px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Effects */
    --glass-blur: blur(24px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.04);
    --box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8);
    --box-shadow-hover: 0 20px 40px -10px rgba(255, 193, 7, 0.15);
    
    /* Fonts */
    --font-primary: 'Rabar_021', 'Inter', sans-serif;
    --font-kurdish: 'Rabar_021', 'Inter', sans-serif;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Kurdish language specific styling */
body.lang-ku {
    font-family: var(--font-kurdish);
    direction: rtl;
}



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

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

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    outline: none;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.fade-in {
    animation: fadeIn var(--transition-normal) forwards;
}

.page-enter {
    animation: pageEnter 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.page-exit {
    animation: pageExit 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.film-zoom-in {
    animation: filmZoomIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pageExit {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

@keyframes filmZoomIn {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Loader */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}
