/* =====================================================
   COMIC PORTFOLIO - CSS
   ===================================================== */

/* --- Base Reset (portfolio-specific) --- */
.hero-section,
.about-section,
.skills-section,
.web-section,
.mobile-section,
.projects-section,
.process-section,
.experience-section,
.contact-section,
.cta-section {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 100px 5%;
}

.comic-section {
    position: relative;
    font-family: "Bangers", cursive;
}

/* --- Halftone Overlay --- */
.halftone-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px
    );
    background-size: 12px 12px;
    pointer-events: none;
    z-index: 0;
}

/* --- Animated Comic Background --- */
.comic-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Speed Lines */
.speed-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    animation: rotate-slow 60s linear infinite;
}

.speed-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(254, 237, 0, 0.08) 40%,
        rgba(254, 237, 0, 0.02) 100%
    );
    transform-origin: left center;
}

.speed-line:nth-child(1) {
    transform: rotate(0deg);
}
.speed-line:nth-child(2) {
    transform: rotate(30deg);
}
.speed-line:nth-child(3) {
    transform: rotate(60deg);
}
.speed-line:nth-child(4) {
    transform: rotate(90deg);
}
.speed-line:nth-child(5) {
    transform: rotate(120deg);
}
.speed-line:nth-child(6) {
    transform: rotate(150deg);
}
.speed-line:nth-child(7) {
    transform: rotate(180deg);
}
.speed-line:nth-child(8) {
    transform: rotate(210deg);
}
.speed-line:nth-child(9) {
    transform: rotate(240deg);
}
.speed-line:nth-child(10) {
    transform: rotate(270deg);
}
.speed-line:nth-child(11) {
    transform: rotate(300deg);
}
.speed-line:nth-child(12) {
    transform: rotate(330deg);
}

.speed-line:nth-child(odd) {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 107, 107, 0.06) 40%,
        rgba(255, 107, 107, 0.01) 100%
    );
}

.speed-line:nth-child(3n) {
    height: 1px;
    width: 40%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 40%,
        transparent 100%
    );
}

/* Starburst */
.comic-starburst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(254, 237, 0, 0.03) 5deg,
        transparent 10deg,
        transparent 15deg,
        rgba(254, 237, 0, 0.02) 20deg,
        transparent 25deg,
        transparent 30deg,
        rgba(254, 237, 0, 0.03) 35deg,
        transparent 40deg,
        transparent 45deg,
        rgba(254, 237, 0, 0.02) 50deg,
        transparent 55deg,
        transparent 60deg,
        rgba(254, 237, 0, 0.03) 65deg,
        transparent 70deg,
        transparent 75deg,
        rgba(254, 237, 0, 0.02) 80deg,
        transparent 85deg,
        transparent 90deg,
        rgba(254, 237, 0, 0.03) 95deg,
        transparent 100deg,
        transparent 105deg,
        rgba(254, 237, 0, 0.02) 110deg,
        transparent 115deg,
        transparent 120deg,
        rgba(254, 237, 0, 0.03) 125deg,
        transparent 130deg,
        transparent 135deg,
        rgba(254, 237, 0, 0.02) 140deg,
        transparent 145deg,
        transparent 150deg,
        rgba(254, 237, 0, 0.03) 155deg,
        transparent 160deg,
        transparent 165deg,
        rgba(254, 237, 0, 0.02) 170deg,
        transparent 175deg,
        transparent 180deg,
        rgba(254, 237, 0, 0.03) 185deg,
        transparent 190deg,
        transparent 195deg,
        rgba(254, 237, 0, 0.02) 200deg,
        transparent 205deg,
        transparent 210deg,
        rgba(254, 237, 0, 0.03) 215deg,
        transparent 220deg,
        transparent 225deg,
        rgba(254, 237, 0, 0.02) 230deg,
        transparent 235deg,
        transparent 240deg,
        rgba(254, 237, 0, 0.03) 245deg,
        transparent 250deg,
        transparent 255deg,
        rgba(254, 237, 0, 0.02) 260deg,
        transparent 265deg,
        transparent 270deg,
        rgba(254, 237, 0, 0.03) 275deg,
        transparent 280deg,
        transparent 285deg,
        rgba(254, 237, 0, 0.02) 290deg,
        transparent 295deg,
        transparent 300deg,
        rgba(254, 237, 0, 0.03) 305deg,
        transparent 310deg,
        transparent 315deg,
        rgba(254, 237, 0, 0.02) 320deg,
        transparent 325deg,
        transparent 330deg,
        rgba(254, 237, 0, 0.03) 335deg,
        transparent 340deg,
        transparent 345deg,
        rgba(254, 237, 0, 0.02) 350deg,
        transparent 355deg
    );
    border-radius: 50%;
    animation: pulse-starburst 8s ease-in-out infinite;
}

/* Animated Halftone Dots */
.halftone-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle,
            rgba(254, 237, 0, 0.06) 1.5px,
            transparent 1.5px
        ),
        radial-gradient(circle, rgba(255, 107, 107, 0.04) 1px, transparent 1px);
    background-size:
        24px 24px,
        36px 36px;
    background-position:
        0 0,
        12px 12px;
    animation: drift-dots 20s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse-starburst {
    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes drift-dots {
    0% {
        background-position:
            0 0,
            12px 12px;
    }
    100% {
        background-position:
            24px 24px,
            36px 36px;
    }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.issue-tag {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 6px 20px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    border: 2px solid #333;
    margin-bottom: 16px;
    font-family: "Bangers", cursive;
}

.section-title {
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    font-family: "Bangers", cursive;
    letter-spacing: 2px;
}

.accent {
    color: #feed00;
}

/* --- Comic Panels --- */
.comic-panel {
    position: relative;
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
}

.panel-border {
    position: absolute;
    inset: 0;
    border: 4px solid #fff;
    border-radius: 8px;
    pointer-events: none;
    z-index: 2;
}

.panel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-align: center;
    font-family: "Bangers", cursive;
    z-index: 3;
}

/* --- Speech Bubbles --- */
.speech-bubble {
    position: relative;
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 20px 28px;
    font-size: 1.1rem;
    line-height: 1.5;
    border: 3px solid #111;
    box-shadow: 4px 4px 0px #111;
    font-family: "Bangers", cursive;
    letter-spacing: 0.5px;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 18px solid #fff;
    filter: drop-shadow(2px 3px 0px #111);
}

/* --- Tags --- */
.tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tag-laravel {
    border-color: #ff2d20;
    color: #ff2d20;
    background: rgba(255, 45, 32, 0.1);
}
.tag-livewire {
    border-color: #4ecca3;
    color: #4ecca3;
    background: rgba(78, 204, 163, 0.1);
}
.tag-react {
    border-color: #61dafb;
    color: #61dafb;
    background: rgba(97, 218, 251, 0.1);
}
.tag-php {
    border-color: #777bb4;
    color: #777bb4;
    background: rgba(119, 123, 180, 0.1);
}
.tag-js {
    border-color: #f7df1e;
    color: #f7df1e;
    background: rgba(247, 223, 30, 0.1);
}

/* =====================================================
   SECTION 1: HERO
   ===================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 40%, #16213e 100%);
    padding-top: 88px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
    margin: 24px 0;
    font-family: "Bangers", cursive;
    letter-spacing: 3px;
    text-shadow: 4px 4px 0 #111;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: #feed00;
    text-shadow: 4px 4px 0px #111;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-family: "Bangers", cursive;
    letter-spacing: 2px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-bubble {
    margin-bottom: 20px;
}

.hero-panel {
    transform: rotate(2deg);
    box-shadow: 8px 8px 0px #333;
    transition: transform 0.3s;
}

.hero-panel:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-align: center;
    z-index: 1;
    font-family: "Bangers", cursive;
    cursor: pointer;
    text-decoration: none;
}

.scroll-indicator-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator i {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 1.2rem;
    animation: bounce-down 1.5s infinite;
}

@keyframes bounce-down {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* =====================================================
   SECTION 2: ABOUT / ORIGIN STORY
   ===================================================== */
.about-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0c29 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-panel {
    transform: rotate(-1deg);
    box-shadow: 8px 8px 0px #333;
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.about-bubble {
    margin-bottom: 30px;
}

.about-bubble::after {
    left: auto;
    right: 30px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #feed00, #ff6b6b);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #feed00;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #feed00;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: #feed00;
    margin-bottom: 6px;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.timeline-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-family: "Bangers", cursive;
    letter-spacing: 0.5px;
}

/* =====================================================
   SECTION 3: SKILLS / SUPER POWERS
   ===================================================== */
.skills-section {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.power-card {
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.power-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(254, 237, 0, 0.08),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.power-card:hover::before {
    opacity: 1;
}

.power-card:hover {
    border-color: #feed00;
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(254, 237, 0, 0.15);
}

.power-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #feed00;
}

.power-card h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.power-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.power-fill {
    height: 100%;
    background: linear-gradient(90deg, #feed00, #ff6b6b);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease-out;
}

.power-level {
    font-size: 0.75rem;
    color: #feed00;
    letter-spacing: 2px;
    font-family: "Bangers", cursive;
}

/* =====================================================
   SECTION 4: WEB DEVELOPMENT
   ===================================================== */
.web-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0c29 100%);
}

.comic-panels-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.panel-large {
    grid-row: 1 / 3;
}

.panel-wide {
    grid-column: 1 / -1;
}

.comic-panels-grid .comic-panel {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.comic-panels-grid .comic-panel:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(254, 237, 0, 0.15);
}

.panel-icon {
    font-size: 2.5rem;
    color: #feed00;
    margin-bottom: 16px;
}

.panel-content h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.panel-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-family: "Bangers", cursive;
    letter-spacing: 0.5px;
}

/* =====================================================
   SECTION 5: MOBILE DEVELOPMENT
   ===================================================== */
.mobile-section {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 50%, #16213e 100%);
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mobile-showcase {
    box-shadow: 8px 8px 0px #333;
}

.mobile-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.mobile-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.mobile-feature:hover {
    border-color: #feed00;
    transform: translateX(8px);
}

.feature-icon {
    font-size: 1.8rem;
    color: #feed00;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.mobile-feature h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 4px;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.mobile-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    font-family: "Bangers", cursive;
    letter-spacing: 0.5px;
}

/* =====================================================
   SECTION 6: PROJECTS
   ===================================================== */
.projects-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0c29 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-card .comic-panel {
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.project-card .comic-panel:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 12px 40px rgba(254, 237, 0, 0.2);
}

.project-cover {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

.project-info {
    padding: 24px;
}

.project-issue {
    font-size: 0.75rem;
    color: #feed00;
    letter-spacing: 3px;
    font-family: "Bangers", cursive;
}

.project-info h4 {
    font-size: 1.5rem;
    color: #fff;
    margin: 8px 0;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.project-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 14px;
    font-family: "Bangers", cursive;
    letter-spacing: 0.5px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    background: rgba(254, 237, 0, 0.1);
    color: #feed00;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(254, 237, 0, 0.3);
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

/* =====================================================
   SECTION 7: PROCESS
   ===================================================== */
.process-section {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.process-timeline {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    position: relative;
    text-align: center;
}

.process-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(254, 237, 0, 0.2);
    font-family: "Bangers", cursive;
    margin-bottom: 10px;
}

.process-panel {
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s;
}

.process-panel:hover {
    border-color: #feed00 !important;
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(254, 237, 0, 0.15);
}

.process-icon {
    font-size: 2rem;
    color: #feed00;
    margin-bottom: 12px;
}

.process-panel h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.process-panel p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    font-family: "Bangers", cursive;
    letter-spacing: 0.5px;
}

/* =====================================================
   SECTION 8: EXPERIENCE
   ===================================================== */
.experience-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0c29 100%);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #feed00, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    border-color: #feed00;
    transform: translateY(-6px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #feed00;
    line-height: 1;
    font-family: "Bangers", cursive;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.stat-icon {
    margin-top: 12px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.battle-log {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.battle-bubble::after {
    left: 50%;
    transform: translateX(-50%);
    bottom: -18px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 18px solid #fff;
}

/* =====================================================
   SECTION 9: CONTACT
   ===================================================== */
.contact-section {
    background: linear-gradient(135deg, #0f0c29 0%, #16213e 50%, #1a1a2e 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-panel {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
}

.contact-bubble {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    font-family: "Bangers", cursive;
    font-size: 1rem;
    letter-spacing: 1px;
}

.contact-link:hover {
    border-color: #feed00;
    background: rgba(254, 237, 0, 0.05);
    transform: translateX(8px);
}

.contact-link i {
    font-size: 1.3rem;
    color: #feed00;
    width: 24px;
    text-align: center;
}

.contact-visual {
    position: relative;
}

.contact-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid #fff;
    box-shadow: 8px 8px 0px #333;
    max-width: 100%;
}

.contact-status {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #4ecca3;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border: 2px solid #4ecca3;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Bangers", cursive;
    white-space: nowrap;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4ecca3;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* =====================================================
   RIBBON: SCROLLING TEXT MARQUEE
   ===================================================== */
.ribbon-section {
    width: 100%;
    overflow: hidden;
    background: #fe4d4d;
    border-top: 3px solid #111;
    border-bottom: 9px solid #111;
    padding: 32px 0;
    position: relative;
    z-index: 1;
    transform: rotate(-1deg);
    margin: -20px 0;
    box-shadow: 0 16px 16px rgba(0, 0, 0, 0.3);
    direction: ltr;
}

[dir="rtl"] .ribbon-section {
    transform: rotate(1deg);
}

@media (max-width: 768px) {
    .ribbon-section {
        margin: -8px 0;
    }
}

.ribbon-track {
    display: flex;
    width: max-content;
    animation: ribbon-scroll 30s linear infinite;
    will-change: transform;
    direction: ltr;
}

.ribbon-track:hover {
    animation-play-state: paused;
}

.ribbon-text {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    font-family: "Bangers", cursive;
    font-size: 1.9rem;
    letter-spacing: 4px;
    color: #fff;
    text-transform: uppercase;
    padding: 0 16px;
    flex-shrink: 0;
    text-shadow: 2px 2px 0 #000;
}

.ribbon-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    margin: 0 24px;
    flex-shrink: 0;
}

@keyframes ribbon-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =====================================================
   SECTION 1.5: DEVELOPER ARSENAL
   ===================================================== */
.arsenal-section {
    background: #fff;
    color: #111;
    position: relative;
    padding: 120px 5% 100px;
    overflow: hidden;
}

.arsenal-section .halftone-overlay {
    background-image: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.04) 1px,
        transparent 1px
    );
}

.arsenal-comic-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.arsenal-speed-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    animation: rotate-slow 60s linear infinite;
}

.arsenal-speed-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.04) 40%,
        rgba(0, 0, 0, 0.01) 100%
    );
    transform-origin: left center;
}

.arsenal-speed-line:nth-child(1) {
    transform: rotate(0deg);
}
.arsenal-speed-line:nth-child(2) {
    transform: rotate(30deg);
}
.arsenal-speed-line:nth-child(3) {
    transform: rotate(60deg);
}
.arsenal-speed-line:nth-child(4) {
    transform: rotate(90deg);
}
.arsenal-speed-line:nth-child(5) {
    transform: rotate(120deg);
}
.arsenal-speed-line:nth-child(6) {
    transform: rotate(150deg);
}
.arsenal-speed-line:nth-child(7) {
    transform: rotate(180deg);
}
.arsenal-speed-line:nth-child(8) {
    transform: rotate(210deg);
}
.arsenal-speed-line:nth-child(9) {
    transform: rotate(240deg);
}
.arsenal-speed-line:nth-child(10) {
    transform: rotate(270deg);
}
.arsenal-speed-line:nth-child(11) {
    transform: rotate(300deg);
}
.arsenal-speed-line:nth-child(12) {
    transform: rotate(330deg);
}

.arsenal-speed-line:nth-child(odd) {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(254, 237, 0, 0.06) 40%,
        rgba(254, 237, 0, 0.01) 100%
    );
}

.arsenal-speed-line:nth-child(3n) {
    height: 1px;
    width: 40%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.03) 40%,
        transparent 100%
    );
}

.arsenal-starburst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 0, 0, 0.02) 5deg,
        transparent 10deg,
        transparent 15deg,
        rgba(0, 0, 0, 0.015) 20deg,
        transparent 25deg,
        transparent 30deg,
        rgba(0, 0, 0, 0.02) 35deg,
        transparent 40deg,
        transparent 45deg,
        rgba(0, 0, 0, 0.015) 50deg,
        transparent 55deg,
        transparent 60deg,
        rgba(0, 0, 0, 0.02) 65deg,
        transparent 70deg,
        transparent 75deg,
        rgba(0, 0, 0, 0.015) 80deg,
        transparent 85deg,
        transparent 90deg,
        rgba(0, 0, 0, 0.02) 95deg,
        transparent 100deg,
        transparent 105deg,
        rgba(0, 0, 0, 0.015) 110deg,
        transparent 115deg,
        transparent 120deg,
        rgba(0, 0, 0, 0.02) 125deg,
        transparent 130deg,
        transparent 135deg,
        rgba(0, 0, 0, 0.015) 140deg,
        transparent 145deg,
        transparent 150deg,
        rgba(0, 0, 0, 0.02) 155deg,
        transparent 160deg,
        transparent 165deg,
        rgba(0, 0, 0, 0.015) 170deg,
        transparent 175deg,
        transparent 180deg,
        rgba(0, 0, 0, 0.02) 185deg,
        transparent 190deg,
        transparent 195deg,
        rgba(0, 0, 0, 0.015) 200deg,
        transparent 205deg,
        transparent 210deg,
        rgba(0, 0, 0, 0.02) 215deg,
        transparent 220deg,
        transparent 225deg,
        rgba(0, 0, 0, 0.015) 230deg,
        transparent 235deg,
        transparent 240deg,
        rgba(0, 0, 0, 0.02) 245deg,
        transparent 250deg,
        transparent 255deg,
        rgba(0, 0, 0, 0.015) 260deg,
        transparent 265deg,
        transparent 270deg,
        rgba(0, 0, 0, 0.02) 275deg,
        transparent 280deg,
        transparent 285deg,
        rgba(0, 0, 0, 0.015) 290deg,
        transparent 295deg,
        transparent 300deg,
        rgba(0, 0, 0, 0.02) 305deg,
        transparent 310deg,
        transparent 315deg,
        rgba(0, 0, 0, 0.015) 320deg,
        transparent 325deg,
        transparent 330deg,
        rgba(0, 0, 0, 0.02) 335deg,
        transparent 340deg,
        transparent 345deg,
        rgba(0, 0, 0, 0.015) 350deg,
        transparent 355deg
    );
    border-radius: 50%;
    animation: pulse-starburst 8s ease-in-out infinite;
}

.arsenal-halftone-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0, 0, 0, 0.03) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(254, 237, 0, 0.04) 1px, transparent 1px);
    background-size:
        24px 24px,
        36px 36px;
    background-position:
        0 0,
        12px 12px;
    animation: drift-dots 20s linear infinite;
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.arsenal-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 36px 24px 28px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    cursor: default;
}

.arsenal-card:hover {
    border-color: var(--card-color, rgba(0, 0, 0, 0.15));
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.arsenal-card[data-color="#ff2d20"] {
    --card-color: #ff2d20;
}
.arsenal-card[data-color="#4ecca3"] {
    --card-color: #4ecca3;
}
.arsenal-card[data-color="#777bb4"] {
    --card-color: #777bb4;
}
.arsenal-card[data-color="#f7df1e"] {
    --card-color: #d4b800;
}
.arsenal-card[data-color="#61dafb"] {
    --card-color: #61dafb;
}
.arsenal-card[data-color="#38bdf8"] {
    --card-color: #38bdf8;
}
.arsenal-card[data-color="#00758f"] {
    --card-color: #00758f;
}
.arsenal-card[data-color="#dc382d"] {
    --card-color: #dc382d;
}
.arsenal-card[data-color="#f05032"] {
    --card-color: #f05032;
}
.arsenal-card[data-color="#2496ed"] {
    --card-color: #2496ed;
}
.arsenal-card[data-color="#fcc624"] {
    --card-color: #b8960a;
}
.arsenal-card[data-color="#bd34fe"] {
    --card-color: #bd34fe;
}
.arsenal-card[data-color="#6ecf4a"] {
    --card-color: #6ecf4a;
}
.arsenal-card[data-color="#8bc0d0"] {
    --card-color: #8bc0d0;
}

.arsenal-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-color, #111);
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.arsenal-card:hover::after {
    transform: scaleX(1);
}

.arsenal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--card-color, #111);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    line-height: 1;
}

.arsenal-section .section-title {
    color: #111;
}

.arsenal-section .section-title .accent {
    color: #feed00;
}

.arsenal-section .issue-tag {
    background: #111;
    color: #fff;
}

.arsenal-dev {
    color: #000000;
}

.arsenal-card:hover .arsenal-icon {
    transform: translateY(-4px);
}

.arsenal-name {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 8px;
    font-family: "Bangers", cursive;
    letter-spacing: 1px;
}

.arsenal-desc {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.45);
    line-height: 1.5;
    margin-bottom: 14px;
    font-family: "Bangers", cursive;
    letter-spacing: 0.3px;
}

.arsenal-category {
    display: inline-block;
    font-size: 0.65rem;
    color: rgba(0, 0, 0, 0.3);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-family: "Bangers", cursive;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .arsenal-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid,
    .about-grid,
    .mobile-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }

    .hero-img,
    .about-img,
    .mobile-img,
    .contact-img {
        height: 300px;
    }

    .comic-panels-grid {
        grid-template-columns: 1fr;
    }

    .panel-large {
        grid-row: auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .arsenal-card {
        padding: 28px 16px 22px;
    }
    .arsenal-icon {
        font-size: 2.5rem;
    }
    .arsenal-name {
        font-size: 1.05rem;
    }
    .arsenal-desc {
        font-size: 0.75rem;
    }
    .ribbon-text {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    .ribbon-dot {
        margin: 0 18px;
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .hero-section,
    .about-section,
    .skills-section,
    .web-section,
    .mobile-section,
    .projects-section,
    .process-section,
    .experience-section,
    .contact-section,
    .arsenal-section {
        padding: 60px 4%;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .experience-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .arsenal-card {
        padding: 22px 14px 18px;
    }
    .arsenal-icon {
        font-size: 2.2rem;
    }
    .arsenal-name {
        font-size: 0.9rem;
    }
    .arsenal-desc {
        font-size: 0.7rem;
    }
    .arsenal-category {
        font-size: 0.55rem;
    }
    .ribbon-text {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }
    .ribbon-dot {
        width: 6px;
        height: 6px;
        margin: 0 14px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
    .stat-card {
        padding: 24px 12px;
    }
    .tech-tags {
        gap: 8px;
    }
    .tag {
        padding: 4px 12px;
        font-size: 0.75rem;
    }

    .hero-img,
    .about-img,
    .mobile-img,
    .contact-img {
        height: 240px;
    }

    .hero-section,
    .about-section,
    .skills-section,
    .web-section,
    .mobile-section,
    .projects-section,
    .process-section,
    .experience-section,
    .contact-section,
    .arsenal-section {
        padding: 50px 3%;
    }

    .hero-title {
        margin: 16px 0;
    }
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .speech-bubble {
        padding: 16px 20px;
        font-size: 1rem;
    }
    .speech-bubble::after {
        bottom: -14px;
        left: 20px;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 14px solid #fff;
    }

    .comic-panels-grid .comic-panel {
        padding: 28px 20px;
    }
    .panel-content h3 {
        font-size: 1.3rem;
    }
    .panel-content p {
        font-size: 0.9rem;
    }

    .process-number {
        font-size: 2.2rem;
    }
    .process-panel {
        padding: 20px 16px;
    }
    .process-panel h4 {
        font-size: 1.1rem;
    }
    .process-panel p {
        font-size: 0.85rem;
    }

    .power-card {
        padding: 20px 14px;
    }
    .power-card h4 {
        font-size: 1rem;
    }
    .power-icon {
        font-size: 2rem;
    }

    .project-cover {
        height: 140px;
    }
    .project-info {
        padding: 18px;
    }
    .project-info h4 {
        font-size: 1.3rem;
    }
    .project-info p {
        font-size: 0.85rem;
    }
    .project-tags span {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .mobile-feature {
        padding: 14px;
        gap: 14px;
    }
    .mobile-feature h4 {
        font-size: 1rem;
    }
    .mobile-feature p {
        font-size: 0.85rem;
    }
    .feature-icon {
        font-size: 1.5rem;
        width: 40px;
    }

    .contact-panel {
        padding: 24px;
    }
    .contact-bubble {
        font-size: 1rem;
        padding: 16px 20px;
    }
    .contact-link {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .about-bubble {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .issue-tag {
        font-size: 0.75rem;
        padding: 5px 14px;
        letter-spacing: 2px;
    }

    .scroll-indicator {
        bottom: 16px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    .scroll-indicator i {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.9rem;
        letter-spacing: 0.5px;
    }
    .section-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }

    .hero-img,
    .about-img,
    .mobile-img,
    .contact-img {
        height: 200px;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .experience-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .arsenal-card {
        padding: 18px 10px 14px;
        border-radius: 10px;
    }
    .arsenal-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .arsenal-name {
        font-size: 0.85rem;
    }
    .arsenal-desc {
        font-size: 0.65rem;
        margin-bottom: 10px;
    }
    .arsenal-category {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }
    .ribbon-text {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }
    .ribbon-dot {
        width: 5px;
        height: 5px;
        margin: 0 12px;
    }

    .power-card {
        padding: 16px 10px;
    }
    .power-card h4 {
        font-size: 0.9rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }

    .speech-bubble {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    .speech-bubble p {
        font-size: 0.9rem;
    }

    .tag {
        padding: 3px 10px;
        font-size: 0.7rem;
    }
    .tech-tags {
        gap: 6px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }
    .timeline-content p {
        font-size: 0.85rem;
    }

    .contact-link {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}
