/* Links page specific styles - inherit video background from main CSS */

/* Override body background to match homepage */
body {
    background-color: #000 !important;
}

/* Adjust content positioning for links page */
.content {
    margin: 0 auto !important;
    padding: 100px 0 20px 0 !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Remove video CSS - let homepage handle it */

/* Ensure content appears above video */
.content, .link-buttons, header {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.content {
    background: transparent !important;
}

.link-buttons {
    background: transparent !important;
}

/* Remove conflicting video styles - let homepage CSS handle it */

header {
    background-color: transparent;
    padding: 20px;
    text-align: center;
    color: white;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    margin: 0 auto;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.header-link {
    font-family: 'GhastlyPanic', sans-serif;
    font-size: 50px;
    text-decoration: none;
    color: white;
    user-select: none;
}

.header-logo {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.content {
    text-align: center;
    width: 90%;
    /* MODIFIED: Adjusted max-width for a single column layout */
    max-width: 500px; /* Suitable for a single column of buttons */
    margin: 2em auto;
    padding: 20px 0;
    position: relative;
    z-index: 1;
    /* MODIFIED: Removed flex properties and min-height for desktop */
    background: transparent !important;
}

.link-buttons {
    display: flex;
    /* MODIFIED: Stack buttons vertically for desktop (base style) */
    flex-direction: column;
    align-items: center; /* Center buttons horizontally in the column */
    gap: 1em; /* Spacing between buttons */
    width: 100%;
    background: transparent !important;
}

.link-btn {
    background-color: rgba(20, 20, 20, 0.55);
    color: white;
    padding: 0.9em 1.5em;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
    min-height: 55px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);

    /* MODIFIED: Styles for single column buttons on desktop */
    width: 100%; /* Take full width of .link-buttons container */
    max-width: 400px; /* Max width for a button in the column */
    justify-content: center; /* Center icon and text within the button */
    /* Removed flex-grow, flex-shrink, flex-basis from previous horizontal layout */
}

.link-btn i {
    margin-right: 12px; /* Still useful if justify-content is not center, or for visual balance */
    font-size: 1.5em;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.link-btn span {
    font-size: 1.05em;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-btn:hover, .link-btn:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.link-btn:active {
    transform: translateY(0px) scale(1);
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- Media Queries for Responsive Layout --- */

@media (max-width: 768px) { /* Tablet view */
    .content {
        max-width: 90%;
        margin: 0 auto;
        padding: 80px 0 20px 0 !important;
    }
    .link-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .link-btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        padding: 12px 20px;
        min-height: 55px;
    }
}

@media (max-width: 520px) { /* Mobile view */
    .content {
        max-width: 95%;
        margin: 0 auto;
        padding: 70px 0 10px 0 !important;
    }
    .link-buttons {
        gap: 10px;
    }
    .link-btn {
        max-width: 100%;
        padding: 10px 15px;
        font-size: 0.95em;
    }
    .link-btn span {
        font-size: 1em;
    }
}

/* --- Font Face Rules --- */
@font-face {
    font-family: 'GhastlyPanic';
    src: url('fonts/GhastlyPanic.ttf?v=20251025') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit.ttf?v=20251025') format('truetype');
}