@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Khmer:wght@400;500;600;700&display=swap');

:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #93c5fd;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --secondary-light: #fcd34d;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --gray: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Khmer', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #020617;
    color: #f8fafc;
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    padding: 0.75rem 1.25rem;
    background-color: var(--secondary);
    color: var(--darker);
    border-radius: 9999px;
    z-index: 9999;
    font-weight: bold;
}

.skip-link:focus {
    left: 8px;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions a {
        width: 100%;
        text-align: center;
    }
}

/* Khmer font adjustments */
.khmer-font {
    font-family: 'Noto Sans Khmer', sans-serif;
    letter-spacing: -0.5px;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}