@media (min-width: 900px) {
  .bots-grid {
    gap: 32px 24px !important;
    padding: 0 24px;
  }
  .bot-card {
    width: 340px !important;
    min-height: 340px !important;
    padding: 28px 24px 20px 24px !important;
    border-radius: 18px !important;
    font-size: 1rem !important;
  }
  .bot-card img {
    width: 84px !important;
    height: 84px !important;
    margin-bottom: 18px !important;
  }
  .bot-name {
    font-size: 1.25rem !important;
    margin-bottom: 10px !important;
  }
  .bot-desc, .bot-card ul {
    font-size: 1rem !important;
    margin-bottom: 10px !important;
  }
  .show-commands-btn {
    font-size: 1rem !important;
    padding: 10px 24px !important;
    margin-bottom: 8px !important;
  }
}
@media (max-width: 900px) {
  .navbar {
    z-index: 4000;
  }
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #232b3a;
    z-index: 5000;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 100px 0 16px 0;
    transition: left 0.3s, background 0.3s;
    overflow-y: auto;
  }

  .hero {
    margin-top: 70px !important;
    padding-top: 24px !important;
  }
  .nav-menu.nav-menu-active {
    left: 0;
    background: rgba(35,43,58,0.8);
    backdrop-filter: blur(12px);
  }
  .nav-close {
    z-index: 5100;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 5200;
  }

.active-section {
    box-shadow: 0 0 0 6px #ff416c55, 0 12px 40px 0 #ff416c33;
    border-radius: 18px;
    transition: box-shadow 0.3s, background 0.3s;
    background: rgba(255,65,108,0.04);
    z-index: 1;
    position: relative;
}

.nav-link.active {
    color: #ff416c !important;
    font-weight: 600;
    text-shadow: 0 2px 12px #ff416c55;
}
  .nav-toggle .bar {
    width: 32px;
    height: 4px;
    background: #e0e6f6;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
  }
  .nav-menu .nav-link {
    padding: 16px 0;
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    border-bottom: 1px solid #232b3a;
  }
  .nav-menu .nav-link:last-child {
    border-bottom: none;
  }
}
@media (max-width: 900px) {
  .nav-menu {
    z-index: 2000;
    pointer-events: auto;
  }
  .nav-toggle {
    z-index: 2100;
    pointer-events: auto;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none !important;
  }
  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e4e7ec;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #000000 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

@keyframes gridMove {
    0% { background-position: 0 0, 50px 50px, 0 0, 0 0; }
    100% { background-position: 50px 50px, 100px 100px, 50px 50px, 50px 50px; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(30, 27, 75, 0.13);
    backdrop-filter: blur(32px) saturate(1.2);
    border-bottom: 1.5px solid rgba(239, 68, 68, 0.07);
    box-shadow: 0 4px 24px 0 rgba(30,27,75,0.06), 0 2px 8px 0 #ff416c08;
    transition: background 0.3s, box-shadow 0.3s, border-bottom 0.3s;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(239, 68, 68, 0.04) 50%, 
        rgba(30, 27, 75, 0.04) 50%, 
        rgba(239, 68, 68, 0.04) 100%);
    opacity: 0.10;
    z-index: -1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.nav-logo a::before {
    content: '<';
    position: absolute;
    left: -20px;
    color: #ef4444;
}

.nav-logo a::after {
    content: '/>';
    position: absolute;
    right: -30px;
    color: #1e1b4b;
}

@media (min-width: 901px) {
  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    gap: 2rem;
  }
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #cbd5e1;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 2rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #000000 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 27, 75, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    flex: 1.3;
    max-width: 750px;
    min-width: 0;
    margin-left: 4rem;
}

.hero-text {
    z-index: 2;
    min-width: 0;
    width: 100%;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    height: 4.2rem;
    display: flex;
    align-items: center;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.gradient-text {
  background: linear-gradient(90deg, #ff7eb3 0%, #ff416c 60%, #ff4b2b 100%);
  font-weight: 700;
  letter-spacing: 1px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 12px #ff416c88, 0 1px 0 #fff2;
  animation: none;
}

.social-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.6rem !important;
    margin: 1.5rem 0;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: none !important;
}

.social-link {
    color: #ef4444 !important;
    font-size: 2rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    padding: 0.4rem !important;
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.social-link i {
    font-size: 2rem !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
}

.social-link:hover {
    transform: translateY(-1px) !important;
    background: none !important;
    box-shadow: none !important;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
}

.btn-secondary:hover {
    background: #ef4444;
    color: #ffffff;
}

.code-editor-window {
    flex: 0.8;
    max-width: 600px;
    background: linear-gradient(145deg, #0d1117, #161b22);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid rgba(239, 68, 68, 0.15);
    margin-right: 2rem;
}

.code-editor-window::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.1) 0%, 
        rgba(124, 18, 18, 0.1) 30%, 
        rgba(30, 27, 75, 0.1) 60%, 
        rgba(16, 16, 16, 0.1) 100%);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.code-editor-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.code-editor-window:hover::before {
    opacity: 1;
}

.window-header {
    background: linear-gradient(135deg, #21262d, #161b22);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    position: relative;
    z-index: 2;
}

.window-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(239, 68, 68, 0.4) 20%, 
        rgba(124, 18, 18, 0.4) 50%, 
        rgba(30, 27, 75, 0.4) 80%, 
        transparent 100%);
}

.window-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.control {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.control:hover {
    transform: scale(1.1);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.control.red {
    background: linear-gradient(145deg, #ff6b6b, #ff5252);
}

.control.yellow {
    background: linear-gradient(145deg, #ffd93d, #ffc107);
}

.control.green {
    background: linear-gradient(145deg, #6bcf7f, #4caf50);
}

.control::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
}

.window-title {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.window-actions {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.window-actions i {
    cursor: pointer;
    transition: color 0.3s ease;
}

.window-actions i:hover {
    color: #ef4444;
}

.code-content {
    background: linear-gradient(145deg, #0d1117, #161b22);
    padding: 15px 15px 15px 38px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.code-line {
    display: flex;
    align-items: center;
    min-height: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    position: relative;
    margin-left: 0.5em;
}

.code-line::before {
    content: attr(data-line);
    position: absolute;
    left: -32px;
    width: 28px;
    text-align: right;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    user-select: none;
}

.code-line.animate {
    opacity: 1;
    transform: translateX(0);
}

.keyword {
    color: #ff7b7b;
    font-weight: 600;
}

.variable {
    color: #79dae8;
}

.operator {
    color: #ffb86c;
}

.punctuation {
    color: #f8f8f2;
}

.property {
    color: #50fa7b;
}

.string {
    color: #f1fa8c;
}

.comment {
    color: #6272a4;
    font-style: italic;
}

.method {
    color: #8be9fd;
}

.number {
    color: #bd93f9;
}

.bracket {
    color: #ff79c6;
}

.tab {
    display: inline-block;
    width: 2ch;
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: rgba(255, 255, 255, 0.8);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid #7c2d12;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #e2e8f0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    border-radius: 2px;
}

.about {
    padding: 100px 0;
    background: #1e293b;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #94a3b8;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.skills {
    padding: 100px 0;
    background: #0f172a;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: #334155;
}

.skill-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.skill-item span {
    display: block;
    font-weight: 500;
    color: #cbd5e1;
}

.projects {
    padding: 100px 0;
    background: #1e293b;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.project-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.3);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
    background-size: 400% 400%;
    animation: gradientFlow 8s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
    background: #ef4444;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-weight: 600;
}

.project-content p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.contact {
    padding: 100px 0;
    background: #0f172a;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.contact-item i {
    width: 20px;
    color: #ef4444;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.6rem !important;
    margin-top: 3rem;
    flex-wrap: nowrap !important;
}

.social-link {
    color: #ef4444 !important;
    font-size: 2rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    padding: 0.4rem !important;
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    min-width: auto !important;
}

.social-link:hover {
    transform: translateY(-2px) !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

.social-link i {
    font-size: 2rem !important;
    color: inherit !important;
    margin-bottom: 0 !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
}

.social-link:hover i {
    transform: scale(1.1) !important;
}

.social-link span {
    display: none !important;
}

.social-link:hover span {
    display: none !important;
}

.footer {
    background: #0f172a;
    border-top: 1px solid #334155;
    color: #cbd5e1;
    text-align: center;
    padding: 2rem 0;
}

/* Blinking cursor animation */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #ffffff;
    margin-left: 5px;
    animation: blink 1s infinite;
    vertical-align: middle;
    box-shadow: none;
    border: none;
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-link.active {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ef4444, #1e1b4b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #0891b2);
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 2rem;
        padding: 5rem 1rem 2rem 1rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
        margin-left: 0;
    }

    .hero-text {
        display: block !important;
        visibility: visible !important;
        width: 100%;
    }

    .code-editor-window {
        transform: none;
        order: 2;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.6rem;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 3.4rem;
    }

    .hero-greeting,
    .hero-intro,
    .hero-role {
        font-size: 2.5rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.4rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.3rem;
        justify-content: center;
        text-align: center;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 3.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        gap: 0.2rem !important;
        flex-wrap: nowrap !important;
    }

    .social-link {
        min-width: 140px;
        padding: 1.5rem 1rem;
    }

    .social-link i {
        font-size: 2.5rem;
    }

    .social-link span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        white-space: nowrap !important;
        height: auto;
        text-align: center;
        justify-content: center;
        flex-wrap: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 0.2rem !important;
        flex-direction: row;
        flex-wrap: nowrap !important;
    }

    .social-link {
        min-width: 120px;
        padding: 1.2rem 0.8rem;
    }

    .social-link i {
        font-size: 2.2rem;
    }

    .social-link span {
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.4rem !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 2rem;
        height: auto;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .social-links {
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }
}

@media (min-width: 769px) {
    .social-links {
        gap: 0.6rem !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }
}

.boolean {
    color: #bd93f9;
    font-weight: 600;
}

.contact-page {
    padding: 60px 0;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 27, 75, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124, 18, 18, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.contact-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    display: inline-block;
}

.title-bracket {
    color: #ef4444;
    font-size: 2rem;
    animation: bracketPulse 2s ease-in-out infinite;
}

@keyframes bracketPulse {
    0%, 100% { 
        color: #ef4444;
        text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    }
    50% { 
        color: #1e1b4b;
        text-shadow: 0 0 20px rgba(30, 27, 75, 0.5);
    }
}

.contact-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    cursor: pointer;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(30, 27, 75, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.github-card .card-icon { color: #ffffff; }
.linkedin-card .card-icon { color: #0077b5; }
.discord-card .card-icon { color: #5865f2; }
.tiktok-card .card-icon { color: #ff0050; }
.twitter-card .card-icon { color: #1da1f2; }
.featured-card .card-icon { 
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.card-content p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(30, 27, 75, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(30, 27, 75, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ef4444, #1e1b4b, #ef4444);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.contact-card:hover .card-glow {
    opacity: 0.3;
}

.featured-card {
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(239, 68, 68, 0.4);
    grid-column: 1 / -1;
    text-align: center;
}

.featured-card .card-content h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ef4444 0%, #1e1b4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.footer-text {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-text i {
    color: #ef4444;
    margin-right: 0.5rem;
}

.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.decoration-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 50px 0;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .featured-card {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 1.8rem;
    }
    
    .title-bracket {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
}


