/* Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #3498db;
    --text-color: #2c3e50;
    --header-footer-bg: #ffffff;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

/* Layout */
.links {
    padding: 2em;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 100px;
}

/* Header & Footer */
header, footer {
    text-align: center;
    padding: 1.5em;
    background-color: var(--header-footer-bg);
    width: 100%;
    position: fixed;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

header {
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    bottom: 0;
    left: 0;
    font-size: 0.9em;
    color: #666;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

/* Typography */
header h1 {
    margin: 0;
    color: var(--primary-color);
    font-size: 2.2em;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

header p {
    margin: 0.5em 0 0;
    color: var(--secondary-color);
    font-size: 1.1em;
}

section h2 {
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5em;
}

/* Sections */
section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 1.5em;
    margin-bottom: 2em;
    box-shadow: var(--shadow);
}

/* Links */
.link {
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
    padding: 0.5em;
    border-radius: 4px;
    transition: background-color var(--transition);
}

.link:hover {
    background-color: rgba(240, 247, 255, 0.8);
}

.link-content {
    flex: 1;
    min-width: 0; /* Allows content to shrink below flex item's minimum content size */
    overflow: hidden;
}

.link h3 {
    color: var(--secondary-color);
    margin: 0 0 0.5em;
    font-size: 1.2em;
}

.link p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icons */
.link i {
    font-size: 1.5em;
    margin-right: 1em;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* Brand Colors */
.fa-linkedin { color: #0072b1; }
.fa-github { color: #333333; }
.fa-app-store-ios { color: #007AFF; }
.fa-twitch { color: #9146FF; }

/* Links */
a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link:hover a {
    color: var(--secondary-color);
}

/* Utilities */
.coming-soon {
    color: #666;
    font-style: italic;
}

/* Media Queries */
@media (max-width: 600px) {
    .links {
        padding: 1em;
        padding-bottom: 80px;
    }
    
    section {
        padding: 1em;
    }

    .link {
        flex-direction: row;
        align-items: flex-start;
    }

    .link i {
        margin-top: 0.2em;
    }

    .link p {
        font-size: 0.85em;
    }

    .link h3 {
        font-size: 1em;
    }

    .link-content {
        min-width: 0; /* Allows content to shrink below flex item's minimum content size */
    }
}

@media (max-width: 400px) {
    .link p {
        font-size: 0.75em;
    }
} 