/* ===========================
   CUSTOM FONTS
   =========================== */

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

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

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

/* ===========================
   GLOBAL STYLES & VARIABLES
   =========================== */

:root {
    /* Colors - Minimaliste Premium - New Blue Theme */
    --primary-color: rgb(69, 88, 255);
    --primary-dark: rgb(50, 65, 220);
    --accent-color: rgb(40, 55, 200);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Dark theme - Ultra clean */
    --bg-dark: rgb(7, 11, 35);
    --bg-card: rgb(20, 25, 50);
    --bg-border: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgb(118, 127, 170);
    --text-muted: rgb(90, 95, 130);

    /* Gradients - Minimal & Clean - New Blue Theme */
    --gradient-primary: linear-gradient(135deg, rgb(69, 88, 255) 0%, rgb(50, 65, 220) 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(69, 88, 255, 0.05) 0%, transparent 100%);

    /* Spacing - Minimaliste strict */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 3.5rem;

    /* Border radius - Subtle */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows - Minimaliste */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.18);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-primary: 'Interphases', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Interphases', sans-serif;
    --font-display: 'Interphases', sans-serif;
}

/* ===========================
   RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-light);
}

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

ul {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.header .container {
    padding: 0 var(--spacing-md);
    max-width: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.header {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    border-bottom: none;
    box-shadow: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: #121731;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius-lg);
  max-width: 1280px;
  margin: 0 auto;

  /* Ombre */
  box-shadow: 0 8px 24px rgba(7, 11, 35, 0.6);
}


.logo {
    font-size: 1.5rem;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-weight: 900;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-base);
    color: rgb(118, 127, 170);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: all var(--transition-base);
}

.nav-link.active {
    color: #ffffff;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background-color: var(--bg-card);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transition: right var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    box-shadow: var(--shadow-md);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgb(52, 60, 100);
    color: white;
    border: 1px solid rgb(52, 60, 100);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgb(40, 45, 75);
    border-color: rgb(40, 45, 75);
    color: white;
}

.btn-outline {
    background-color: rgb(52, 60, 100);
    border: 1px solid rgb(52, 60, 100);
    color: white;
}

.btn-outline:hover {
    background: rgb(40, 45, 75);
    border-color: rgb(40, 45, 75);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-discord {
    background-color: #5865f2;
    color: white;
}

.btn-twitter {
    background-color: #1da1f2;
    color: white;
}

.btn-youtube {
    background-color: #ff0000;
    color: white;
}

/* ===========================
   SECTION TITLES
   =========================== */

.section-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
    font-weight: 400;
}

.page-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    text-align: center;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

.page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: var(--spacing-sm);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--bg-dark);
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--bg-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-light);
}

.footer-logo {
    height: 30px;
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.disclaimer {
    color: var(--warning-color);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===========================
   UTILITIES
   =========================== */

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

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

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