/* Urban Chaos Studio - Base Styles */
:root {
    --background: #000000;
    --foreground: #ffffff;
    --lime-400: #84cc16;
    --lime-500: #84cc16;
    --violet-500: #8b5cf6;
    --violet-400: #a78bfa;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --zinc-950: #09090b;
    --zinc-900: #18181b;
    --zinc-800: #27272a;
    --zinc-700: #3f3f46;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.hidden { display: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-8 { padding: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-32 { margin-top: 8rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.opacity-30 { opacity: 0.3; }
.pointer-events-none { pointer-events: none; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* Colors */
.bg-black { background-color: #000; }
.bg-gray-900 { background-color: #111827; }
.text-white { color: #fff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-lime-400 { color: var(--lime-400); }
.text-violet-400 { color: var(--violet-400); }
.text-orange-400 { color: var(--orange-400); }
.selection\:bg-lime-400::selection { background-color: var(--lime-400); color: #000; }

/* Typography */
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-sans { font-family: 'Space Grotesk', sans-serif; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-light { font-weight: 300; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-relaxed { line-height: 1.625; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    border-radius: 4px;
}

.btn-primary {
    background: linear-gradient(to right, #a3e635, #10b981);
    color: #000;
    box-shadow: 0 0 30px rgba(132, 204, 22, 0.5);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 50px rgba(132, 204, 22, 0.8);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lime-400);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 6px;
}

.lang-btn {
    text-decoration: none;
    color: #6b7280;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
    border-radius: 4px;
}

.lang-btn.active {
    background: var(--lime-400);
    color: #000;
}

.lang-btn:not(.active):hover {
    color: #fff;
}

/* Grid System */
.grid { display: grid; }
@media (min-width: 768px) {
    .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md-flex-row { flex-direction: row; }
}
@media (min-width: 1024px) {
    .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Card */
.card {
    background: var(--zinc-900);
    border: 1px solid var(--zinc-800);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--lime-400);
    box-shadow: 0 20px 40px -15px rgba(132, 204, 22, 0.2);
}

.card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img {
    transform: scale(1.15);
}

.card-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 1.5rem;
    background: linear-gradient(to top, var(--zinc-950), var(--zinc-900));
}

/* Badge */
.badge {
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
}

.badge-red {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.label { display: block; color: #9ca3af; margin-bottom: 0.6rem; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.input, .textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--zinc-800);
    color: #fff;
    padding: 1rem;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
    border-radius: 4px;
}

.input:focus, .textarea:focus {
    border-color: var(--lime-400);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.1);
}

.textarea { min-height: 120px; resize: vertical; }

/* Social Icons */
.social-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zinc-900);
    border: 1px solid var(--zinc-800);
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--lime-400);
    color: #000;
    transform: translateY(-5px) rotate(8deg);
    border-color: var(--lime-400);
}

/* Graffiti Styles */
.graffiti-subtitle {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 
    3px 3px 0 #84cc16,
    6px 6px 0 rgba(0,0,0,0.5);
}

.graffiti-text {
  font-family: 'Permanent Marker', cursive;
}

/* Shard Animations */
.shard {
  position: absolute;
  backdrop-filter: blur(8px);
  z-index: 1;
}

.shard-1 {
  width: 180px; height: 120px; top: 10%; left: 5%;
  background: rgba(132, 204, 22, 0.1);
  border: 1px solid rgba(132, 204, 22, 0.3);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 80%);
  animation: float 8s ease-in-out infinite;
}

.shard-2 {
  width: 100px; height: 150px; bottom: 15%; right: 10%;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float 6s ease-in-out infinite reverse;
}

.shard-3 {
  width: 140px; height: 80px; top: 40%; right: 5%;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  clip-path: polygon(0% 20%, 100% 0%, 80% 100%, 20% 100%);
  animation: float 10s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -30px) rotate(10deg); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--zinc-950);
    margin: 4vh auto;
    padding: 3rem;
    border: 1px solid var(--zinc-800);
    width: 95%;
    max-width: 1100px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    color: #9ca3af;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    z-index: 10;
}

.close-modal:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* Toast */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--zinc-900);
    color: #fff;
    text-align: center;
    border: 1px solid var(--lime-400);
    padding: 1rem;
    position: fixed;
    z-index: 3000;
    bottom: 30px;
    right: 30px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from { bottom: 0; opacity: 0; }
    to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
    from { bottom: 30px; opacity: 1; }
    to { bottom: 0; opacity: 0; }
}

@media (max-width: 767px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .modal-content { padding: 1.5rem; margin: 2vh auto; }
    .py-20 { padding-top: 4rem; padding-bottom: 4rem; }
    .graffiti-subtitle { font-size: 3rem; }
}
