/* King Zepha - Retro-Modern Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Righteous&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --brand-yellow: #fbdc29;
    --brand-dark: #1a1a1a;
    --brand-grey: #2a2a2a;
    --brand-light: #f5f5f5;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-orange: #ff6b35;
    --accent-teal: #00d9ff;
    --shadow-glow: 0 0 40px rgba(251, 220, 41, 0.15);
}

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

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Vinyl record background effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, transparent 30%, rgba(251, 220, 41, 0.03) 31%, rgba(251, 220, 41, 0.03) 32%, transparent 33%, transparent 40%, rgba(251, 220, 41, 0.02) 41%, transparent 42%);
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, transparent 30%, rgba(255, 107, 53, 0.03) 31%, rgba(255, 107, 53, 0.03) 32%, transparent 33%);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-wrapper {
    margin-bottom: 20px;
    position: relative;
}

.logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--brand-yellow);
    box-shadow: 0 10px 40px rgba(251, 220, 41, 0.3),
                inset 0 0 20px rgba(251, 220, 41, 0.1);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    object-fit: cover;
}

.logo:hover {
    transform: rotate(360deg) scale(1.05);
}

.tagline {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    white-space: pre-line;
    letter-spacing: 0.5px;
}

/* Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 40px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-yellow), var(--accent-orange));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--brand-yellow);
    box-shadow: 0 10px 30px rgba(251, 220, 41, 0.4);
}

.social-icon:hover::before {
    opacity: 0.15;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
    position: relative;
    z-index: 1;
}

/* Category Sections */
.category-section {
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease-out both;
}

.category-section:nth-child(1) { animation-delay: 0.1s; }
.category-section:nth-child(2) { animation-delay: 0.2s; }
.category-section:nth-child(3) { animation-delay: 0.3s; }
.category-section:nth-child(4) { animation-delay: 0.4s; }

.category-title {
    font-family: 'Righteous', cursive;
    font-size: 28px;
    color: var(--brand-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    text-shadow: 0 0 20px rgba(251, 220, 41, 0.3);
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-yellow), transparent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Link Buttons */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-item {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 220, 41, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(251, 220, 41, 0.1), rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.link-item:hover {
    transform: translateX(5px);
    border-color: var(--brand-yellow);
    box-shadow: 0 8px 30px rgba(251, 220, 41, 0.2);
}

.link-item:hover::before {
    opacity: 1;
}

.link-favicon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    position: relative;
    z-index: 1;
}

.link-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.link-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.link-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--brand-grey);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--brand-yellow);
    box-shadow: 0 20px 60px rgba(251, 220, 41, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid rgba(251, 220, 41, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: 'Righteous', cursive;
    font-size: 20px;
    color: var(--brand-yellow);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(251, 220, 41, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 30px 15px 60px;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .link-item {
        padding: 15px 16px;
    }
    
    .modal-content {
        border-radius: 16px;
    }
}
