:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --card-inner: #282828;
    --text-color: #ffffff;
    --text-muted: #b5b5b5;
    --main-font: 'Poppins', sans-serif;
    --arrow-cursor: url('/assets/arrow.cur'), auto;
    --hand-cursor: url('/assets/hand.cur'), auto;
    --accent: hsl(45, 100%, 72%);
    --accent-text: #000000;
    --border-color: #000000;
    --shadow: 5px 5px 0px #000000;
    --shadow-hover: 8px 8px 0px #000000;
    --shadow-offset: clamp(8px, 1.2vw, 20px);
    --container-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--accent);
    --grid-line-color: rgba(255, 255, 255, 0.07);
}

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

html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: var(--arrow-cursor);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--main-font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 4.5rem) clamp(1rem, 3vw, 3rem);
    position: relative;
    overflow-x: hidden;
}

.bg-grid-slanted {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -2;
    pointer-events: none;
    transform: rotate(-12deg);
    background-image:
        linear-gradient(to right, var(--grid-line-color) 2px, transparent 2px),
        linear-gradient(to bottom, var(--grid-line-color) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: moveGrid 18s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: rotate(-12deg) translateY(0);
    }

    100% {
        transform: rotate(-12deg) translateY(50px);
    }
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
    background-image: radial-gradient(#ffffff 1px, transparent 0);
    background-size: 4px 4px;
}

.container {
    width: 100%;
    max-width: min(92vw, 1400px);
    background: var(--card-bg);
    border: clamp(3px, 0.3vw, 5px) solid var(--border-color);
    border-radius: clamp(20px, 2.5vw, 36px);
    padding: clamp(1.5rem, 3.5vw, 3rem);
    box-shadow: var(--container-shadow);
    position: relative;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(1rem, 2vw, 2rem);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.brand-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-name {
    font-family: var(--main-font);
    font-weight: 900;
    font-size: clamp(3rem, 4vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--text-color);
    text-shadow: 3px 3px 0px #000;
}

.brand-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: clamp(1rem, 1.3vw, 1.4rem);
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.5px;
    width: fit-content;
}

.location-icon {
    width: clamp(16px, 1.2vw, 20px);
    height: clamp(16px, 1.2vw, 20px);
    fill: currentColor;
}

.contact-btn {
    cursor: var(--hand-cursor);
    background-color: var(--accent);
    color: var(--accent-text);
    font-weight: 800;
    text-decoration: none;
    padding: clamp(0.6rem, 1vw, 1.1rem) clamp(1.25rem, 2vw, 2.25rem);
    border-radius: 50px;
    border: clamp(2px, 0.2vw, 3.5px) solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.15s ease;
    font-size: clamp(0.9rem, 1vw, 1.35rem);
    white-space: nowrap;
}

.contact-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-hover);
}

.contact-btn:active {
    transform: translate(0px, 0px);
    box-shadow: 2px 2px 0px #000;
}

section {
    margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: clamp(0.8rem, 1.2vw, 1.2rem);
    flex-wrap: wrap;
}

.section-title {
    font-family: var(--main-font);
    font-size: clamp(1.25rem, 1.8vw, 2.2rem);
    font-weight: 800;
    background: var(--accent);
    color: var(--accent-text);
    padding: clamp(0.2rem, 0.4vw, 0.5rem) clamp(0.75rem, 1vw, 1.25rem);
    border-radius: clamp(10px, 1vw, 16px);
    border: clamp(2px, 0.2vw, 3px) solid var(--border-color);
    box-shadow: 3px 3px 0px #000;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 25vw, 380px), 1fr));
    gap: clamp(1rem, 1.8vw, 2rem);
}

.card {
    position: relative;
    background-color: var(--card-inner);
    border: clamp(2px, 0.2vw, 3.5px) solid var(--border-color);
    border-radius: clamp(16px, 1.5vw, 24px);
    padding: clamp(1.5rem, 2vw, 2.5rem);
    box-shadow: var(--shadow);
}

.card h3 {
    font-family: var(--main-font);
    font-size: clamp(1.3rem, 1.6vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1vw, 1.25rem);
    line-height: 1.6;
}

.card p+p {
    margin-top: 1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 18vw, 280px), 1fr));
    gap: clamp(0.8rem, 1.2vw, 1.5rem);
}

.social-link {
    cursor: var(--hand-cursor);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    background-color: var(--card-inner);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    padding: clamp(0.85rem, 1.2vw, 1.4rem) clamp(1rem, 1.5vw, 1.75rem);
    border-radius: clamp(14px, 1.2vw, 20px);
    border: clamp(2px, 0.2vw, 3.5px) solid var(--border-color);
    box-shadow: var(--shadow);
    font-size: clamp(0.9rem, 1vw, 1.3rem);
    transition: all 0.15s ease;
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--accent-text);
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-hover);
}

.social-link:active {
    transform: translate(0px, 0px);
    box-shadow: 2px 2px 0px #000;
}

.social-icon {
    width: clamp(20px, 1.5vw, 32px);
    height: clamp(20px, 1.5vw, 32px);
    fill: currentColor;
    flex-shrink: 0;
}

.arrow-icon {
    margin-left: auto;
    font-weight: 900;
    font-size: 1.1em;
    opacity: 0.7;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-link:hover .arrow-icon {
    opacity: 1;
    transform: translate(2px, -2px);
}

footer {
    margin-top: 1rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(0.8rem, 0.9vw, 1.1rem);
    line-height: 1.6;
    border-top: 2px dashed rgba(255, 255, 255, 0.15);
}

footer a {
    cursor: var(--hand-cursor);
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    text-decoration: underline;
}

/* --- Page Load Animations --- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

header,
.section-header,
.card,
.social-link,
footer {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}