/* outfit-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/outfit-v15-latin/outfit-v15-latin-300.woff2') format('woff2');
}

/* outfit-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/outfit-v15-latin/outfit-v15-latin-regular.woff2') format('woff2');
}

/* outfit-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/outfit-v15-latin/outfit-v15-latin-600.woff2') format('woff2');
}


:root {
    --bg-color: #0d0d0d;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-color: #1baaff; /* Blue accent */
    --text-primary: #ffffff;
    --text-secondary: #cdcdcd;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    overflow-x: hidden;
    line-height: 1.4;
}

.container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeIn 1s var(--transition);
}

@media (max-width: 600px) {
    .container {
        gap: 1rem;
    }
}

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

header {
    text-align: center;
}

.logo-container {
    width: 180px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    position: relative;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(27, 170, 255, 0.3));
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.2rem;
    }
}

a { color: var(--accent-color); text-decoration: none;}
a:hover { text-decoration: none;}

.tagline {
    color: var(--text-secondary);
    font-weight: 300;
}

.nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .link-item {
        padding: .9rem;
    }
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.link-item:hover {
    background: linear-gradient(45deg, rgba(27, 170, 255, 0.25), rgba(27, 170, 255, 0.15));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 0 15px rgba(27, 170, 255, 0.1);
}

.link-item:hover::before {
    left: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transition: all 0.4s var(--transition);
}

.social-links a:hover {
    background: linear-gradient(45deg, rgba(27, 170, 255, 0.25), rgba(27, 170, 255, 0.15));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 0 15px rgba(27, 170, 255, 0.1);
    transform: translateY(-3px);
}

.social-links svg {
    width: 22px;
    height: 22px;
}

.link-icon {
    position: absolute;
    left: 1.5rem;
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

footer {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

/* Modal Styling (CSS Only via :target) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--transition);
}

.modal:target {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1a1a1a;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.6s var(--transition);
    max-height: 80vh;
    overflow-y: auto;
}

.modal:target .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.modal-section h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-info {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.modal-info p {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-align: center;
}