/* =======================================================
   My Tattoo Story
   Version 2.0
   Author: Star Base
======================================================= */

:root{

--background:#050505;
--background2:#0b0b0b;
--card:#111111;
--border:#242424;

--white:#ffffff;
--text:#d7d7d7;
--gray:#9d9d9d;

--primary:#4ec9ff;
--secondary:#63ffb8;
--gold:#ffd34d;

--shadow:0 15px 45px rgba(0,0,0,.45);

--radius:18px;

--transition:.35s;

--container:1280px;

}

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

html{

scroll-behavior:smooth;

}

body{

background:var(--background);

color:var(--text);

font-family:'Poppins',sans-serif;

overflow-x:hidden;

line-height:1.8;

}

img{

display:block;

max-width:100%;

height:auto;

border-radius:14px;

}

a{

text-decoration:none;

color:inherit;

}

.container{

width:min(92%,var(--container));

margin:auto;

}

.section{

padding:120px 0;

position:relative;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-small{

display:inline-block;

letter-spacing:4px;

font-size:13px;

color:var(--primary);

margin-bottom:15px;

text-transform:uppercase;

}

.section-title h2{

font-size:52px;

font-weight:700;

color:white;

}

.hero{

position:relative;

display:flex;

justify-content:center;

align-items:center;

min-height:100vh;

overflow:hidden;

padding:40px;

}

.hero::before{

content:"";

position:absolute;

inset:0;

background:

radial-gradient(circle at top,
rgba(78,201,255,.12),
transparent 55%),

radial-gradient(circle at bottom,
rgba(99,255,184,.10),
transparent 45%);

}

.hero-content{

position:relative;

z-index:5;

text-align:center;

max-width:920px;

}

.hero-top{

letter-spacing:6px;

font-size:13px;

color:var(--primary);

margin-bottom:20px;

}

.hero-title{

font-size:82px;

font-weight:700;

color:white;

line-height:1.05;

margin-bottom:25px;

}

.hero-subtitle{

font-size:22px;

color:#c7c7c7;

margin-bottom:45px;

}

.typing-window{

background:#0d0d0d;

border:1px solid #202020;

border-radius:16px;

overflow:hidden;

box-shadow:var(--shadow);

margin-bottom:45px;

}

.terminal-header{

height:44px;

display:flex;

align-items:center;

gap:10px;

padding:0 18px;

background:#171717;

}

.red,
.yellow,
.green{

width:12px;

height:12px;

border-radius:50%;

}

.red{
background:#ff5f57;
}

.yellow{
background:#ffbd2f;
}

.green{
background:#28c840;
}

.terminal-header p{

margin-left:auto;

font-size:13px;

font-family:'JetBrains Mono',monospace;

color:#999;

}

#terminal-text{

padding:35px;

font-size:15px;

font-family:'JetBrains Mono',monospace;

color:#63ffb8;

white-space:pre-wrap;

line-height:1.9;

text-align:left;

}

.hero-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

/* =======================================================
   Buttons
======================================================= */

.btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:16px 38px;

border-radius:60px;

font-weight:600;

font-size:15px;

transition:all .35s ease;

cursor:pointer;

user-select:none;

}

.btn-primary{

background:linear-gradient(135deg,var(--primary),#2d8dff);

color:white;

box-shadow:0 15px 40px rgba(78,201,255,.25);

}

.btn-primary:hover{

transform:translateY(-5px);

box-shadow:0 20px 50px rgba(78,201,255,.45);

}

.btn-secondary{

background:transparent;

border:2px solid rgba(255,255,255,.15);

color:white;

}

.btn-secondary:hover{

background:rgba(255,255,255,.05);

border-color:var(--primary);

transform:translateY(-5px);

}

/* =======================================================
   Story
======================================================= */

.story-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.story-image img{

border-radius:20px;

box-shadow:var(--shadow);

transition:.45s;

}

.story-image img:hover{

transform:scale(1.02);

}

.story-text{

font-size:18px;

}

.story-text p{

margin-bottom:28px;

color:#d7d7d7;

}

/* =======================================================
   Cards
======================================================= */

.cards{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.card{

background:rgba(255,255,255,.03);

border:1px solid rgba(255,255,255,.06);

backdrop-filter:blur(18px);

padding:35px;

border-radius:22px;

transition:.35s;

}

.card:hover{

transform:translateY(-8px);

border-color:var(--primary);

box-shadow:0 25px 50px rgba(0,0,0,.35);

}

.card h3{

margin-bottom:18px;

font-size:24px;

color:white;

}

.card p{

color:#bfbfbf;

line-height:1.9;

}

/* =======================================================
   Code Window
======================================================= */

.code-layout{

display:grid;

grid-template-columns:2fr 1fr;

gap:45px;

align-items:start;

}

.code-window{

background:#090909;

border-radius:20px;

overflow:hidden;

border:1px solid #222;

box-shadow:var(--shadow);

}

.code-window pre{

padding:40px;

overflow:auto;

font-size:15px;

line-height:1.8;

font-family:'JetBrains Mono',monospace;

color:#63ffb8;

}

.developer-card{

background:rgba(255,255,255,.03);

border:1px solid rgba(255,255,255,.08);

padding:35px;

border-radius:20px;

}

.developer-card h3{

font-size:28px;

margin-bottom:25px;

color:white;

}

.developer-card p{

margin-bottom:20px;

color:#d0d0d0;

line-height:1.9;

}

/* =======================================================
   Statistics
======================================================= */

.stats-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:28px;

}

.stat-card{

background:rgba(255,255,255,.03);

border:1px solid rgba(255,255,255,.05);

border-radius:20px;

padding:40px;

text-align:center;

transition:.35s;

}

.stat-card:hover{

transform:translateY(-8px);

border-color:var(--secondary);

}

.stat-card h3{

font-size:52px;

color:var(--primary);

margin-bottom:12px;

}

.stat-card p{

color:#cfcfcf;

}

/* =======================================================
   Quote
======================================================= */

.quote-section{

padding:120px 0;

text-align:center;

}

.quote-section blockquote{

font-size:36px;

font-weight:300;

max-width:900px;

margin:auto;

line-height:1.6;

color:white;

font-style:italic;

}

/* =======================================================
   Gallery
======================================================= */

.gallery-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.gallery-item{

overflow:hidden;

border-radius:20px;

border:1px solid rgba(255,255,255,.08);

background:#111;

transition:.4s;

box-shadow:var(--shadow);

}

.gallery-item img{

width:100%;

height:100%;

object-fit:cover;

transition:.6s;

}

.gallery-item:hover{

transform:translateY(-8px);

border-color:var(--primary);

}

.gallery-item:hover img{

transform:scale(1.08);

}

/* =======================================================
   CTA
======================================================= */

.cta-section{

padding:140px 0;

}

.cta-box{

max-width:900px;

margin:auto;

padding:70px;

text-align:center;

border-radius:28px;

background:linear-gradient(145deg,#111,#181818);

border:1px solid rgba(255,255,255,.08);

box-shadow:var(--shadow);

position:relative;

overflow:hidden;

}

.cta-box::before{

content:"";

position:absolute;

inset:-100px;

background:radial-gradient(circle,
rgba(78,201,255,.12),
transparent 60%);

pointer-events:none;

}

.cta-box h2{

font-size:48px;

color:white;

margin-bottom:25px;

position:relative;

}

.cta-box p{

font-size:19px;

line-height:1.9;

color:#d7d7d7;

margin-bottom:40px;

position:relative;

}

/* =======================================================
   Footer
======================================================= */

footer{

padding:70px 20px;

text-align:center;

background:#080808;

border-top:1px solid rgba(255,255,255,.05);

}

footer h2{

font-size:42px;

color:white;

margin-bottom:18px;

}

footer p{

color:#9f9f9f;

margin:8px 0;

}

/* =======================================================
   Background Effects
======================================================= */

#particles{

position:fixed;

inset:0;

pointer-events:none;

z-index:-3;

background-image:

radial-gradient(circle at 20% 30%,rgba(78,201,255,.08),transparent 20%),

radial-gradient(circle at 80% 70%,rgba(99,255,184,.08),transparent 20%),

radial-gradient(circle at 50% 90%,rgba(255,211,77,.05),transparent 25%);

}

.background-glow{

position:fixed;

width:900px;

height:900px;

left:50%;

top:-400px;

transform:translateX(-50%);

border-radius:50%;

background:radial-gradient(circle,
rgba(78,201,255,.12),
transparent 70%);

filter:blur(80px);

pointer-events:none;

z-index:-2;

animation:floatGlow 8s ease-in-out infinite;

}

/* =======================================================
   Animations
======================================================= */

@keyframes floatGlow{

0%{

transform:translateX(-50%) translateY(0);

}

50%{

transform:translateX(-50%) translateY(40px);

}

100%{

transform:translateX(-50%) translateY(0);

}

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(40px);

}

to{

opacity:1;

transform:translateY(0);

}

}

.hero-content,
.section-title,
.card,
.story-grid,
.code-layout,
.gallery-item,
.cta-box{

animation:fadeUp .9s ease both;

}

/* =======================================================
   Scrollbar
======================================================= */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#0a0a0a;

}

::-webkit-scrollbar-thumb{

background:linear-gradient(var(--primary),var(--secondary));

border-radius:20px;

}

/* =======================================================
   Responsive
======================================================= */

@media (max-width:1100px){

.hero-title{

font-size:64px;

}

.story-grid{

grid-template-columns:1fr;

}

.code-layout{

grid-template-columns:1fr;

}

}

@media (max-width:768px){

.section{

padding:80px 0;

}

.hero{

padding:25px;

}

.hero-title{

font-size:42px;

}

.hero-subtitle{

font-size:18px;

}

.section-title h2{

font-size:34px;

}

.quote-section blockquote{

font-size:26px;

}

.cta-box{

padding:40px 25px;

}

.cta-box h2{

font-size:34px;

}

.btn{

width:100%;

}

.hero-buttons{

flex-direction:column;

}

#terminal-text{

font-size:13px;

padding:20px;

}

}

@media (max-width:480px){

.hero-title{

font-size:34px;

}

.section-title h2{

font-size:28px;

}

.card{

padding:25px;

}

.stat-card{

padding:28px;

}

footer h2{

font-size:30px;

}

}