:root {
--izi-orange: #f06722;
--izi-orange-dark: #c5511b;
--izi-black: #111111;
--izi-gray: #f3f3f3;
--izi-white: #ffffff;
--izi-eye-green: #28b66c;

--radius-lg: 18px;
--radius-md: 14px;
--radius-pill: 999px;

--shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.16);
--shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
box-sizing: border-box;
}

body {
margin: 0;
font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
color: var(--izi-white);
line-height: 1.6;
scroll-behavior: smooth;
cursor: url('img/eye-cursor.png'), auto;
background: linear-gradient(160deg, #0d0d0d, #121212, #181818, #131313);
background-size: 500% 500%;
animation: dreamBG 14s ease infinite;
}

img {
max-width: 100%;
display: block;
}

.container {
width: min(1120px, 100% - 2.5rem);
margin: 0 auto;
}

#iziSite {
position: relative;
z-index: 2;
}

.site-header {
position: sticky;
top: 0;
z-index: 50;
background: rgba(17, 17, 17, 0.94);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.6rem 0;
}

.logo-img {
height: 120px;
transition: transform .15s ease-out;
}

.logo-img:hover {
transform: scale(1.04);
}

.main-nav ul {
display: flex;
gap: 1.4rem;
list-style: none;
margin: 0;
padding: 0;
}

.main-nav a {
text-decoration: none;
color: #f5f5f5;
font-size: 0.95rem;
font-weight: 500;
position: relative;
}

.main-nav a::after {
content: "";
position: absolute;
left: 0;
bottom: -0.25rem;
width: 0;
height: 2px;
background: var(--izi-orange);
transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
width: 100%;
}

.nav-toggle {
display: none;
background: none;
border: none;
padding: 0.25rem;
cursor: pointer;
}

.nav-toggle span {
display: block;
width: 22px;
height: 2px;
background: #ffffff;
margin: 4px 0;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open span:nth-child(1) {
transform: translateY(6px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
transform: translateY(-6px) rotate(-45deg);
}

.hero {
background: radial-gradient(circle at top left, #ff8b3c, #f06722 40%, #171717 68%);
padding: 6rem 0 9rem;
}

.hero-grid {
display: grid;
grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
gap: 3rem;
align-items: center;
}

.hero-tag {
font-size: 0.9rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.85);
margin-bottom: 0.75rem;
}

.hero h1 {
text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.12);
}

@keyframes textGlow {
0%,
100% {
text-shadow: 0 0 0px rgba(255, 255, 255, 0.0);
}
50% {
text-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}
}

.highlight {
color: var(--izi-black);
background: var(--izi-white);
padding: 0.1rem 0.45rem;
border-radius: 10px;
}

.hero-subtitle {
margin: 0 0 1.7rem;
max-width: 34rem;
color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 0.9rem;
}

.btn {
border-radius: var(--radius-pill);
padding: 0.7rem 1.5rem;
border: 1px solid transparent;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
background: #000000;
color: var(--izi-white);
box-shadow: var(--shadow-soft);
position: relative;
overflow: hidden;
}

.btn-primary::after {
content: "";
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.2);
transform: translateX(-100%);
transition: transform 0.35s ease-out;
}

.btn-primary:hover::after {
transform: translateX(0);
}

.btn-primary:hover {
background: #222222;
border-color: transparent;
transform: translateY(-1px);
}

.btn-ghost {
background: transparent;
color: var(--izi-white);
border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
border-color: var(--izi-white);
background: rgba(0, 0, 0, 0.18);
}

.btn.small {
padding: 0.45rem 1rem;
font-size: 0.85rem;
}

.btn.full {
width: 100%;
}

.hero-visual {
display: flex;
flex-direction: column;
align-items: center;
}

.hero-orbit {
position: relative;
width: 230px;
height: 230px;
border-radius: 50%;
display: grid;
place-items: center;
overflow: hidden;
}

.hero-orbit-circle {
position: absolute;
inset: 0;
border-radius: inherit;
background: radial-gradient(circle at 30% 20%, #fff7ec 0%, #ffd2aa 40%, #f06722 80%, #c34a16 100%);
box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-eye {
position: relative;
width: 150px;
animation: float 4.5s ease-in-out infinite;
transition: transform 0.15s ease-out;
}

.hero-caption {
margin-top: 1rem;
font-size: 0.9rem;
opacity: 0.9;
}

.section {
padding: 3.8rem 0;
background: #111111;
padding-top: 6rem;
}

.section-alt {
background: #181818;
}

.section-header {
text-align: center;
max-width: 640px;
margin: 0 auto 2rem;
}

.section h2 {
font-size: 1.8rem;
margin-bottom: 0.4rem;
}

.lead {
font-size: 1.05rem;
color: rgba(255, 255, 255, 0.9);
}

.section-split {
background: #111111;
}

.split-grid {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
gap: 2.5rem;
}

.bullet-list {
list-style: none;
padding: 0;
margin: 0 0 1.6rem;
}

.bullet-list li {
margin-bottom: 0.5rem;
position: relative;
padding-left: 1.3rem;
}

.bullet-list li::before {
content: "•";
position: absolute;
left: 0;
color: var(--izi-orange);
}

.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.8rem;
}

.game-card {
background: #111111;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-subtle);
display: flex;
flex-direction: column;
border: 1px solid rgba(255, 255, 255, 0.04);
position: relative;
transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease;
}

.game-card:hover {
transform: perspective(800px) rotate3d(1, 1, 0, 7deg) scale(1.015);
box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
border-color: var(--izi-orange);
filter: brightness(1.07);
}

.game-tag {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.06em;
background: var(--izi-orange);
color: var(--izi-black);
padding: 0.4rem 0.9rem;
border-bottom-right-radius: 999px;
border-top-left-radius: var(--radius-lg);
align-self: flex-start;
}

.game-tag--coming {
background: rgba(0, 0, 0, 0.65);
color: rgba(255, 255, 255, 0.85);
border: 1px dashed rgba(255, 255, 255, 0.35);
}

.game-cover {
width: 100%;
max-height: 260px;
height: auto;
object-fit: contain;
background: #000;
transition: transform 0.35s ease;
}

.game-card:hover .game-cover {
transform: scale(1.07);
}

.game-body {
padding: 1.2rem 1.3rem 1.3rem;
}

.game-body h3 {
margin-top: 0;
margin-bottom: 0.4rem;
}

.game-meta {
list-style: none;
padding: 0;
margin: 0.5rem 0 1rem;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.7);
}

.game-meta li + li {
margin-top: 0.25rem;
}

.game-card--coming {
align-items: stretch;
justify-content: center;
text-align: left;
}

.game-coming-inner {
padding: 1.5rem;
}

.identity {
background: #111111;
}

.identity-grid {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
gap: 2.3rem;
align-items: center;
}

.identity-logos {
display: grid;
gap: 1rem;
}

.identity-card {
background: #181818;
border-radius: var(--radius-md);
padding: 1rem;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.06);
}

.identity-card img {
margin: 0 auto 0.5rem;
max-height: 70px;
}

.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.6rem;
}

.team-card {
background: #111111;
border-radius: var(--radius-lg);
padding: 1.5rem 1.6rem;
border: 1px solid rgba(255, 255, 255, 0.06);
}

.team-role {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
margin-top: 0.15rem;
}

.team-card--open {
border-style: dashed;
border-color: rgba(255, 255, 255, 0.2);
}

.contact {
background: #111111;
}

.contact-grid {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
gap: 2.2rem;
}

.contact-list {
list-style: none;
padding: 0;
margin: 1rem 0 0;
}

.contact-list li + li {
margin-top: 0.5rem;
}

.contact-list a {
color: #ffffff;
text-decoration: underline;
}

.contact-form {
background: #181818;
padding: 1.5rem;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-subtle);
border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form label {
display: block;
font-size: 0.9rem;
margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
width: 100%;
margin-top: 0.3rem;
padding: 0.55rem 0.7rem;
border-radius: 9px;
border: 1px solid rgba(255, 255, 255, 0.15);
background: #101010;
color: #ffffff;
font-family: inherit;
font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
outline: 1px solid var(--izi-orange);
border-color: var(--izi-orange);
}

.form-note {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.6);
margin-top: 0.5rem;
}

.site-footer {
background: #080808;
padding: 1.6rem 0 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
text-align: center;
}

.footer-small {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.6);
}

.footer-dev a[href^="mailto:"] {
    color: white !important;
}

@media (max-width: 840px) {
.hero-grid,
.split-grid,
.identity-grid,
.contact-grid {
grid-template-columns: minmax(0, 1fr);
}

.hero {
padding-top: 4.5rem;
}

.hero-grid {
gap: 2.2rem;
}

.hero-visual {
order: -1;
}

.header-inner {
padding-inline: 0;
}

.main-nav {
position: absolute;
inset: 100% 0 auto;
background: #111111;
max-height: 0;
overflow: hidden;
transition: max-height 0.18s ease-out;
}

.main-nav ul {
flex-direction: column;
padding: 0.5rem 1.4rem 1.1rem;
gap: 0.75rem;
}

.nav-open {
max-height: 220px;
}

.nav-toggle {
display: inline-block;
}
}

@media (max-width: 520px) {
.hero-actions {
flex-direction: column;
align-items: stretch;
}

.game-cover {
height: 160px;
}
}

.intro {
position: fixed;
inset: 0;
background: var(--izi-orange);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999;
opacity: 1;
transition: opacity 0.8s ease;
}

.intro-eye {
width: 170px;
animation: float 4s ease-in-out infinite;
}

.intro-logo {
font-size: 3.2rem;
font-weight: 900;
color: var(--izi-white);
margin-top: 1.5rem;
opacity: 0;
animation: introFadeIn 1.4s ease forwards 0.6s;
}

.site-hide {
display: none;
}

.section-header h2:hover {
animation: glitch 0.25s linear;
}

.reveal {
opacity: 0;
transform: translateY(34px) scale(0.98);
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.show {
opacity: 1;
transform: translateY(0) scale(1);
}

.particle {
position: fixed;
pointer-events: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.22);
width: 6px;
height: 6px;
filter: blur(4px);
z-index: 999999;
}

.scrolled {
background: rgba(8, 8, 8, 0.8) !important;
backdrop-filter: blur(18px);
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

a,
button,
.game-card {
cursor: url('img/eye-cursor.png'), pointer;
}

@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}

@keyframes introFadeIn {
to {
opacity: 1;
}
}

@keyframes dreamBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}

@keyframes glitch {
0% {
transform: translate(0px);
}
35% {
transform: translate(-2px, 1px);
}
70% {
transform: translate(3px, -2px);
}
100% {
transform: translate(0);
}
}

@keyframes pulseText {
0%,
100% {
letter-spacing: 0px;
}
50% {
letter-spacing: 1.5px;
}
}

.modal-bg {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.75);
display: none;
align-items: center;
justify-content: center;
z-index: 99999;
backdrop-filter: blur(8px);
}

.modal {
background: #151515;
border: 1px solid rgba(255,255,255,0.1);
border-radius: 14px;
padding: 1.8rem;
max-width: 560px;
width: 94%;
box-shadow: 0 22px 48px rgba(0,0,0,0.35);
animation: popup .28s ease-out;
}

@keyframes popup {
from { transform: scale(.84); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}

.modal h3 {
margin-top: 0;
font-size: 1.5rem;
}

.modal p {
font-size: 0.95rem;
opacity: .95;
}

.modal-buttons {
display: flex;
justify-content: flex-end;
gap: .6rem;
margin-top: 1.5rem;
}

.btn-steam {
background: #1b2838;
color: white;
border-radius: 999px;
padding: .55rem 1.25rem;
font-weight: 600;
text-decoration: none;
}

.btn-steam:hover {
background: #0e141b;
}

.game-body {
display: flex;
flex-direction: column;
}

.game-body .btn.small {
align-self: center;
}

.main-nav a.active {
color: var(--izi-orange);
}

.main-nav a.active::after {
width: 100%;
}

.logo-img:hover {
filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
transform: scale(1.01);
transition: 0.18s;
}

.social-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.6rem;
margin-top: 0.8rem;
list-style: none;
padding: 0;
}

.social-links li {
margin: 0;
}

.social-links a {
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.85);
text-decoration: none;
padding: 0.25rem 0.85rem;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.02);
transition:
background 0.15s ease-out,
color 0.15s ease-out,
border-color 0.15s ease-out,
transform 0.12s ease-out;
}

.social-links a:hover {
background: var(--izi-orange);
border-color: var(--izi-orange);
color: var(--izi-black);
transform: translateY(-1px);
}

.identity-list {
list-style: none;
margin: 1.2rem 0 1.5rem;
padding: 0;
}

.identity-list li {
margin-bottom: 0.6rem;
font-size: 0.95rem;
color: rgba(255, 255, 255, 0.9);
}

.identity-list li strong {
color: #ffffff;
}

.identity-badges {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}

.identity-badges .badge {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.06em;
padding: 0.25rem 0.7rem;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(0, 0, 0, 0.4);
color: rgba(255, 255, 255, 0.8);
}

.identity-grid {
display: grid;
grid-template-columns: 1.3fr 1fr;
gap: 40px;
align-items: start;
}

.identity-card img {
max-width: 70%;
margin: 0 auto 12px;
display: block;
}

.identity-list li {
margin-bottom: 12px;
line-height: 1.65;
font-size: 1.05rem;
}

.lead {
font-size: 1.15rem;
opacity: 0.95;
}

.identity-text-extra {
margin-top: 2rem;
max-width: 600px;
line-height: 1.55;
font-size: 1rem;
color: #ddd;
}

.identity-text-extra h3 {
font-size: 1.4rem;
margin-bottom: 1rem;
font-weight: 600;
color: #fff;
}

.identity-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
}

.identity-left {
max-width: 650px;
}

.team-intro {
max-width: 720px;
margin: 0 auto 3rem;
text-align: center;
opacity: 0.8;
font-size: 1.05rem;
}

.team-extra {
margin-top: 0.8rem;
opacity: 0.85;
font-size: 0.95rem;
}

.team-values {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: .8rem;
margin-top: 3rem;
}

.team-values .value {
background: rgba(255,255,255,0.06);
padding: .5rem 1rem;
border-radius: 9999px;
font-size: .9rem;
border: 1px solid rgba(255,255,255,0.08);
user-select: none;
}

.contact-tags {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
margin-top: 1.5rem;
}

.contact-tags .tag {
padding: 0.4rem 0.9rem;
border-radius: 999px;
font-size: 0.85rem;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.08);
white-space: nowrap;
}

.contact-note {
margin-top: 0.9rem;
font-size: 0.85rem;
opacity: 0.7;
text-align: left;
}

.team-grid {
display: grid;
gap: 2rem;
grid-template-columns: 1fr;
}

@media (min-width: 650px) {
.team-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1000px) {
.team-grid {
grid-template-columns: repeat(3, 1fr);
}
}

.team-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
padding: 1.4rem;
transition:
transform .25s ease,
border-color .25s ease,
filter .3s ease,
box-shadow .25s ease;
}

.team-card:hover {
transform: perspective(900px) rotate3d(1,1,0,4deg) scale(1.025);
border-color: var(--izi-orange);
filter: brightness(1.1);
box-shadow: 0px 18px 40px rgba(255,102,0,0.22);
}

section[id]:not(#inicio) {
  scroll-margin-top: 120px; /* probá 100–120 hasta que te guste */
}

.logo-img {
  cursor: pointer;
  transition: transform 0.2s ease-out;
}

.logo-img.clicked {
  animation: clickBounce 0.35s ease-out forwards;
}

@keyframes clickBounce {
  0%   { transform: scale(1) rotate(0deg); }
  35%  { transform: scale(1.15) rotate(3deg); }
  65%  { transform: scale(0.85) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
