

@font-face {
    font-family: 'Deutsch Gothic';
    src: url('/assets/fonts/deutsch-gothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Old London';
    src: url('/assets/fonts/old-london.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --red: #ff0033;
    --dark-red: #8b0000;
    --blood: #cc0000;
    --crimson: #c41028;
    --black: #0a0a0a;
    --text: #c0c0c0;
    --dim: #555;
    --font-mono: 'Share Tech Mono', monospace;
    --font-title: 'Rajdhani', sans-serif;
    --font-orb: 'Orbitron', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--text);
    font-family: var(--font-mono);
    overflow-x: hidden;
    cursor: none;
}

.coming-soon {
    min-height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.cs-title {
    font-family: var(--font-orb);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    color: #fff;
}

.cs-accent {
    color: var(--red);
    text-shadow: 0 0 20px rgba(255,0,51,0.3);
}

.cs-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--crimson), transparent);
    margin: 1.5rem 0;
}

.cs-text {
    font-size: 0.75rem;
    color: rgba(192,192,192,0.35);
    letter-spacing: 4px;
}

::selection { background: var(--red); color: var(--black); }

.cursor-core {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.cursor-center {
    position: fixed;
    left: 0; top: 0;
    width: 4px; height: 4px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(255,255,255,1), 0 0 25px rgba(255,255,255,0.6);
    will-change: transform;
}

.cursor-center.hover {
    box-shadow: 0 0 15px rgba(255,255,255,1), 0 0 35px rgba(255,255,255,0.7);
}

.cursor-orbit {
    position: fixed;
    left: 0; top: 0;
    width: 28px; height: 28px;
    pointer-events: none;
    z-index: 9998;
    will-change: transform;
}

.cursor-orbit svg {
    width: 100%; height: 100%;
    animation: cursorSpin 6s linear infinite;
}

.cursor-orbit.hover svg {
    animation-duration: 2s;
}

@keyframes cursorSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cursor-ember {
    position: fixed;
    left: 0; top: 0;
    width: 3px; height: 3px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
    will-change: transform, opacity;
}

.intro-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('/assets/fondintro2.png') center center / cover no-repeat;
    transform: scale(1.01);
    z-index: 0;
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.vignette {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.35) 100%);
    z-index: 2;
    pointer-events: none;
}

.scanline {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 6px
    );
    z-index: 3;
    pointer-events: none;
}

.hud {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 2.5s ease forwards 0.5s;
}

.hud-corner-svg {
    position: absolute;
    width: 80px; height: 80px;
}

.hud-svg-tl { top: 15px; left: 15px; }
.hud-svg-tr { top: 15px; right: 15px; }
.hud-svg-bl { bottom: 15px; left: 15px; }
.hud-svg-br { bottom: 15px; right: 15px; }

.hud-side {
    position: absolute;
    width: 20px;
    height: 200px;
    top: 50%;
    transform: translateY(-50%);
}

.hud-side-left { left: 20px; }
.hud-side-right { right: 20px; }

.hud-top-sep {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 20px;
}

.hud-bottom-sep {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
}

.rune {
    position: absolute;
    font-size: 0.7rem;
    color: rgba(196,16,40,0.3);
    animation: runePulse 5s ease-in-out infinite;
}

.rune-left-top { top: 110px; left: 30px; }
.rune-right-top { top: 110px; right: 30px; }
.rune-left-bottom { bottom: 110px; left: 30px; }
.rune-right-bottom { bottom: 110px; right: 30px; }

@keyframes runePulse {
    0%, 100% { opacity: 0.3; text-shadow: 0 0 4px rgba(196,16,40,0.2); }
    50% { opacity: 0.6; text-shadow: 0 0 10px rgba(255,0,51,0.3); }
}

#matrix-left, #matrix-right {
    position: fixed;
    top: 0;
    width: 8%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    opacity: 0.7;
}

#matrix-left {
    left: 0;
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 30%, transparent 100%);
}
#matrix-right {
    right: 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, transparent 100%);
}

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 4;
    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.intro-logo {
    width: 280px;
    height: auto;
    margin-bottom: 2.5rem;
    margin-left: -4px;
    filter: drop-shadow(0 0 20px rgba(139,0,0,0.35));
    animation: logoPulse 5s ease-in-out infinite;
    opacity: 0;
    animation: fadeInDown 1.2s ease forwards 0.3s, logoPulse 5s ease-in-out infinite 1.5s;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(139,0,0,0.35)); }
    50% { filter: drop-shadow(0 0 30px rgba(255,0,51,0.25)); }
}

.intro-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 6px;
    color: rgba(192,192,192,0.45);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.intro-title {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 7rem;
    font-weight: 400;
    letter-spacing: 8px;
    color: #ffffff;
    line-height: 1.1;
    position: relative;
    text-shadow: 0 0 15px rgba(255,255,255,0.5), 0 0 40px rgba(255,255,255,0.2), 0 0 80px rgba(255,255,255,0.1);
    opacity: 0;
    animation: fadeIn 1.2s ease forwards 1.1s;
}

.gothic-num {
    font-family: 'Old London', 'Deutsch Gothic', cursive;
}

.normal-z {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.4em;
    letter-spacing: 0;
    vertical-align: baseline;
}

.intro-tagline {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.6);
    margin-top: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.intro-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(139,0,0,0.35);
    padding: 1rem 2.5rem;
    background: rgba(139,0,0,0.05);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.9s;
}

.intro-btn:hover {
    color: #fff;
    border-color: rgba(196,16,40,0.6);
    background: rgba(139,0,0,0.1);
    box-shadow: 0 0 25px rgba(139,0,0,0.15), inset 0 0 25px rgba(139,0,0,0.05);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.btn-text { position: relative; z-index: 1; }
.btn-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.intro-btn:hover .btn-arrow { transform: translateX(4px); }

.btn-corner {
    position: absolute;
    width: 8px; height: 8px;
    pointer-events: none;
}

.btn-corner::before, .btn-corner::after {
    content: '';
    position: absolute;
    background: var(--crimson);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.intro-btn:hover .btn-corner::before,
.intro-btn:hover .btn-corner::after { opacity: 1; }

.btn-corner-tl { top: -1px; left: -1px; }
.btn-corner-tl::before { top: 0; left: 0; width: 8px; height: 1px; }
.btn-corner-tl::after { top: 0; left: 0; width: 1px; height: 8px; }

.btn-corner-tr { top: -1px; right: -1px; }
.btn-corner-tr::before { top: 0; right: 0; width: 8px; height: 1px; }
.btn-corner-tr::after { top: 0; right: 0; width: 1px; height: 8px; }

.btn-corner-bl { bottom: -1px; left: -1px; }
.btn-corner-bl::before { bottom: 0; left: 0; width: 8px; height: 1px; }
.btn-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 8px; }

.btn-corner-br { bottom: -1px; right: -1px; }
.btn-corner-br::before { bottom: 0; right: 0; width: 8px; height: 1px; }
.btn-corner-br::after { bottom: 0; right: 0; width: 1px; height: 8px; }

.vertical-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(196,16,40,0.5), rgba(196,16,40,0.05));
    margin: 2rem auto 1.5rem;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.2s;
}

.vertical-line::before {
    content: '';
    position: absolute;
    top: 0; left: -2px;
    width: 5px; height: 5px;
    background: var(--crimson);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(196,16,40,0.6);
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { box-shadow: 0 0 8px rgba(196,16,40,0.6); }
    50% { box-shadow: 0 0 15px rgba(255,0,51,0.4); }
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    color: rgba(255,255,255,0.6);
    transition: all 0.4s ease;
}

.social-link svg {
    width: 18px; height: 18px;
}

.social-link:hover {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
    transform: translateY(-2px);
}

.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.55rem;
    letter-spacing: 5px;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(255,255,255,0.3), 0 0 20px rgba(255,255,255,0.2);
    opacity: 0;
    animation: fadeIn 1s ease forwards 3s, scrollBounce 2.5s ease-in-out infinite 3s;
    cursor: pointer;
}

.portfolio-section {
    min-height: 100vh;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.portfolio-content {
    text-align: center;
}

.portfolio-content h2 {
    font-family: var(--font-orb);
    font-size: 1.5rem;
    color: var(--red);
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255,0,51,0.3);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
}

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

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

@media (max-width: 768px) {
    .intro-title { font-size: 3.5rem; letter-spacing: 4px; }
    .normal-z { font-size: 0.35em; }
    .intro-tagline { font-size: 0.6rem; letter-spacing: 3px; }
    .intro-btn { padding: 0.7rem 1.5rem; font-size: 0.65rem; letter-spacing: 3px; }
    .intro-logo { width: 160px; margin-left: 0; }
    .intro-content { padding: 1.5rem; }
    .hud { display: none; }
    #matrix-left, #matrix-right { width: 12%; }
    .vertical-line { height: 40px; }
    .social-link svg { width: 16px; height: 16px; }
    .scroll-indicator { bottom: 1.5rem; }
}

@media (max-width: 480px) {
    .intro-title { font-size: 2.5rem; letter-spacing: 3px; }
    .normal-z { font-size: 0.3em; }
    .intro-tagline { font-size: 0.55rem; letter-spacing: 2px; margin-bottom: 2rem; }
    .intro-btn { padding: 0.6rem 1.2rem; font-size: 0.6rem; letter-spacing: 2px; }
    .intro-logo { width: 120px; margin-bottom: 1.5rem; }
    #matrix-left, #matrix-right { width: 10%; opacity: 0.5; }
    .vertical-line { height: 30px; margin: 1.5rem auto 1rem; }
    .social-icons { gap: 1rem; }
}

@media (max-width: 360px) {
    .intro-title { font-size: 2rem; letter-spacing: 2px; }
    .intro-logo { width: 100px; }
    .intro-btn { padding: 0.5rem 1rem; font-size: 0.55rem; }
}
