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

/* VARIABLES */
:root {
    --primary: #00ffff;
    --secondary: #ff00ff;
    --accent: #ffff00;
    --bg-dark: #0a0a0a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;

    --tile-1: #ffb347;  /* light but bold orange */
    --tile-2: #6ecbff;  /* light but bold blue */
    --tile-3: #ff4fa3;  /* bright pink */
    --tile-4: #c8a2ff;  /* bold lilac */

}

/* BODY + BACKGROUND */
body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.03) 2px,
        rgba(0, 255, 255, 0.03) 4px
    );
    pointer-events: none;
    z-index: -2;
}

/* CANVAS BACKGROUND */
#neural-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* HERO */
.hero-content {
    position: relative;
}

/* GLITCH TITLE */
.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 10px;
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
}

.glitch::before {
    color: var(--primary);
    z-index: -1;
}

.glitch::after {
    color: var(--secondary);
    z-index: -2;
}

/* SUBTITLE */
.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* SECTIONS */
section {
    padding: 2.5em 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* ABOUT */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.usp {
    max-width: 900px;
    margin: 1.5em auto;
    padding: 0.5em 0;
    text-align: center;
    font-size: 1.25em;
    line-height: 1.5;
    color: var(--text-secondary);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.25);
}

/* SECTION TITLES */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* PROJECTS GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* GLASS CARDS */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover::after {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: var(--primary);
}

/* PROJECT CARD HOVER TEXT */
.project-card {
    position: relative;
    cursor: pointer;
}

.project-card p {
    color: var(--text-secondary);
}

.accent-primary {
    color: var(--primary);
}

.accent-secondary {
    color: var(--secondary);
}

.accent-accent {
    color: var(--accent);
}

.project-card h3,
.project-card p {
    transition: opacity 0.3s ease;
}

.project-card:hover h3,
.project-card:hover p {
    opacity: 0;
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    color: lime;
    font-size: 1.1em;
    transition: opacity 0.3s ease;
}

.project-card:hover .hover-text {
    opacity: 1;
}

/* FOOTER */
footer {
    text-align: center;
    padding-top: 2em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section {
    display: flex;
}

.footer-links-inline {
    align-items: center;
    gap: 0.6em;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-label {
    font-weight: 600;
    font-size: 1.4em;
    color: var(--text-secondary);
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1.4em;
    font-size: 1.4em;
}

.footer-links a {
    color: #12e219;
    text-decoration: none;
}

.footer-links a:hover {
    color: #8e73ed;
    text-shadow: 0 0 8px #200258;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FADE-IN */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.addy {
    display: block;          /* allows margin auto centering */
    width: 60%;              /* desktop width */
    margin: 0 auto;          /* centre horizontally */
    height: auto;            /* natural scaling */
}


.tele {
    display: block;
  
    margin: 0 auto;
    text-align: center;
    color: #c8a2ff; /* lilac */
    font-size: 1.8em;

}

.tele-small {
    display: block;
  
    margin: 0 auto;
    text-align: center;
    color: #c8a2ff; /* lilac */
    font-size: 1em;

}



/* RESPONSIVE */
@media (max-width: 768px) {
    .glitch { font-size: 2.5rem; }
    .subtitle { font-size: 1rem; }
    section { padding: 40px 20px; }
    .projects-grid { grid-template-columns: 1fr; }
    .glass-card { padding: 20px; }
    p { font-size: 1rem; }

      .addy {
        width: 90%;          /* mobile width */
    }

    

}