/* Color Palette Extracted from ITSU Logo Identity */
:root {
    --brand-blue: #0055D4;
    --brand-blue-dark: #003B99;
    --brand-cyan: #1EE3D0;
    --brand-cyan-light: #67F5E8;
    --bg-dark: #070B16;
    --card-bg: rgba(13, 22, 41, 0.75);
    --card-hover-bg: rgba(20, 35, 66, 0.90);
    --card-border: rgba(30, 227, 208, 0.25);
    --card-border-hover: rgba(30, 227, 208, 0.7);
    --text-white: #FFFFFF;
    --text-muted: #A0AEC0;
    --gradient-brand: linear-gradient(135deg, #0055D4 0%, #1EE3D0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    /* High Tech IT Grid Pattern Background */
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(0, 85, 212, 0.25), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(30, 227, 208, 0.18), transparent 50%),
        linear-gradient(rgba(30, 227, 208, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 227, 208, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
    background-attachment: fixed;
}

/* Watermark IT & Code Overlay Pattern */
body::before {
    content: "{ ... }   </>   [ IT ]   010101   { ITSU }   </>";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    font-family: monospace;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    color: rgba(30, 227, 208, 0.03);
    white-space: nowrap;
    letter-spacing: clamp(10px, 2vw, 25px);
    pointer-events: none;
    z-index: 0;
    width: 200%;
    text-align: center;
    user-select: none;
}

/* Ambient Glowing Tech Lights */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.glow-blue {
    top: -100px;
    right: -100px;
    width: clamp(300px, 40vw, 600px);
    height: clamp(300px, 40vw, 600px);
    background: radial-gradient(circle, rgba(0, 85, 212, 0.45) 0%, transparent 70%);
}

.glow-cyan {
    bottom: -100px;
    left: -100px;
    width: clamp(300px, 40vw, 600px);
    height: clamp(300px, 40vw, 600px);
    background: radial-gradient(circle, rgba(30, 227, 208, 0.35) 0%, transparent 70%);
}

.main-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(16px, 4vw, 40px) clamp(12px, 3vw, 24px);
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* Header & Profile Section */
.profile-header {
    text-align: center;
    margin-bottom: clamp(24px, 5vh, 36px);
    width: 100%;
}

.logo-wrapper {
    position: relative;
    width: clamp(100px, 25vw, 135px);
    height: clamp(100px, 25vw, 135px);
    margin: 0 auto clamp(14px, 3vh, 20px) auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.65;
    animation: pulse 3.5s infinite alternate ease-in-out;
}

.brand-logo {
    position: relative;
    width: 85%;
    height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.logo-wrapper:hover .brand-logo {
    transform: scale(1.08) rotate(-2deg);
}

.profile-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.profile-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    color: var(--brand-cyan);
    font-weight: 700;
    margin-bottom: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 227, 208, 0.12);
    border: 1px solid rgba(30, 227, 208, 0.4);
    color: var(--brand-cyan);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 230, 200, 0.15);
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vh, 18px);
}

.link-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: clamp(12px, 2.5vh, 18px) clamp(14px, 3vw, 22px);
    border-radius: clamp(14px, 2vw, 20px);
    text-decoration: none;
    color: var(--text-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-card:hover, .link-card:active {
    background: var(--card-hover-bg);
    border-color: var(--card-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 85, 212, 0.35);
}

.link-card:hover::before, .link-card:active::before {
    opacity: 1;
}

.icon-box {
    width: clamp(40px, 10vw, 48px);
    height: clamp(40px, 10vw, 48px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: clamp(10px, 1.5vw, 14px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-left: clamp(12px, 2.5vw, 16px);
    flex-shrink: 0;
    color: var(--brand-cyan);
    transition: all 0.3s ease;
}

.link-card:hover .icon-box {
    background: var(--gradient-brand);
    color: #FFFFFF;
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(30, 227, 208, 0.4);
}

.link-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.link-title {
    font-size: clamp(0.9rem, 2.8vw, 1.05rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-subtitle {
    font-size: clamp(0.72rem, 2.2vw, 0.8rem);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arrow-box {
    color: var(--text-muted);
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    transition: all 0.3s ease;
    margin-right: 6px;
    flex-shrink: 0;
}

.link-card:hover .arrow-box {
    color: var(--brand-cyan);
    transform: translateX(-6px);
}

/* Footer */
.footer {
    margin-top: clamp(28px, 5vh, 44px);
    text-align: center;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.90);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.85;
    }
}

/* Media Queries for Large Desktop Displays */
@media (min-width: 1200px) {
    .container {
        max-width: 560px;
    }
}

/* Media Queries for Ultra-small Mobile Displays */
@media (max-width: 360px) {
    .link-card {
        padding: 10px 12px;
    }
    .icon-box {
        margin-left: 10px;
    }
}