/* Fallout TTRPG Theme - Neues schwarz-weißes Design */

/* Font Face Declarations */
@font-face {
    font-family: 'Overseer';
    src: url('../assets/fonts/overseer.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Overseer';
    src: url('../assets/fonts/overseer_italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Bold';
    src: url('../assets/fonts/futura_bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Condensed';
    src: url('../assets/fonts/avenir_next_condensed_regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Condensed';
    src: url('../assets/fonts/avenir_next_condensed_bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Schwarz-weißes Design */
    --background-black: #000000;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --button-white: #ffffff;
    --button-black: #000000;
    
    /* Typografie */
    --font-family-primary: 'Avenir Next Condensed', sans-serif;
    --font-family-heading: 'Futura Bold', sans-serif;
    --font-family-site-title: 'Overseer', sans-serif;
    --font-family-download-name: 'Avenir Next Condensed', sans-serif;
    
    /* Abstände basierend auf Mockup (mm -> relative Einheiten) */
    --space-5: 5px;   /* 5mm im Mockup */
    --space-10: 10px; /* 10mm im Mockup */
    --space-12: 12px; /* 12mm im Mockup */
    
    /* Font Sizes basierend auf Mockup */
    --font-90: 5.625rem;  /* 90 Overseer */
    --font-18: 1.125rem;  /* 18 Futura Bold */
    --font-12: 0.75rem;   /* 12 Avenir Next Condensed Bold */
    
    /* Border Radius */
    --radius-5: 5px;     /* 5mm Rundung */
    --radius-round: 50%; /* 25% Rundung für runde Buttons */
    
    /* Transitions */
    --transition-normal: 0.25s ease-in-out;
}

/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--background-black);
}

/* Buttons - Eckige weiße Download-Buttons mit runden Ecken */
.btn-download {
    width: 36px;  /* Vergrößert von 24px */
    height: 36px; /* Vergrößert von 24px */
    background-color: var(--button-white);
    border: 2px solid var(--text-white); /* Neuer Border für mehr Definition */
    border-radius: 6px;  /* Leicht vergrößerte Rundung */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 3px 6px rgba(255, 255, 255, 0.15); /* Stärkerer Schatten */
    text-decoration: none;
    flex-shrink: 0;  /* Verhindert Verformung */
    position: relative; /* Für bessere Hover-Effekte */
}

.btn-download:hover {
    transform: scale(1.15); /* Stärkere Skalierung */
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.25);
    border-color: var(--text-gray); /* Subtile Border-Änderung */
}

.btn-download i {
    color: var(--button-black);
    font-size: 14px;  /* Vergrößert von 10px */
    font-weight: bold; /* Fetteres Icon für bessere Sichtbarkeit */
}

/* Icons */
.icon {
    font-size: 1.25em;
}

/* Site Title Styling */
.site-title {
    font-family: var(--font-family-site-title);
    font-style: italic;
    font-size: 5.625rem;
    color: var(--text-white);
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Responsive Typography */
@media (min-width: 1025px) {
    .site-title {
        font-size: 5.625rem;
    }
}

@media (min-width: 901px) and (max-width: 1024px) {
    .site-title {
        font-size: clamp(3rem, 4vw, 4rem);
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .site-title {
        font-size: clamp(2.5rem, 3.5vw, 3rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) and (max-height: 600px) {
    .site-title {
        font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) and (orientation: landscape) and (max-height: 600px) {
    .site-title {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    :root {
        --font-90: 3.5rem;   /* Kleinere Schrift auf Mobile */
        --font-18: 1rem;
        --font-12: 0.7rem;
    }
    
    .btn-download {
        width: 32px;  /* Etwas kleiner auf Mobile */
        height: 32px;
    }
    
    .btn-download i {
        font-size: 12px;
    }
}