* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #0099ff;
    --accent-color: #ff0055;
    --background-dark: #0a0a0f;
    --background-darker: #050508;
    --card-bg: rgba(20, 20, 30, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0d0;
    --text-muted: #8888aa;
    --border-color: rgba(0, 255, 136, 0.2);
    --glow-color: rgba(0, 255, 136, 0.4);
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff0055;
    --info: #0099ff;
}

.light-mode {
    --primary-color: #0088cc;
    --secondary-color: #0055aa;
    --accent-color: #ff3366;
    --background-dark: #f0f5ff;
    --background-darker: #e0eaff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-primary: #111133;
    --text-secondary: #444466;
    --text-muted: #666688;
    --border-color: rgba(0, 136, 204, 0.3);
    --glow-color: rgba(0, 136, 204, 0.2);
    --success: #00aa66;
    --warning: #cc8800;
    --danger: #cc0033;
    --info: #0066cc;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    width: 400px;
    max-width: 90%;
}

.terminal-loader {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.9);
    box-shadow: 0 0 30px var(--glow-color);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-title {
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.close { background: var(--danger); }
.control.minimize { background: var(--warning); }
.control.maximize { background: var(--success); }

.text {
    padding: 30px;
    text-align: center;
    font-size: 18px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
}

.cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

.cyber-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-glitch {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-glitch::before,
.logo-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logo-glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-color);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.logo-glitch::after {
    left: -2px;
    text-shadow: 2px 0 var(--secondary-color);
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% { clip: rect(20px, 9999px, 21px, 0); }
    5% { clip: rect(32px, 9999px, 80px, 0); }
    10% { clip: rect(54px, 9999px, 65px, 0); }
    15% { clip: rect(12px, 9999px, 79px, 0); }
    20% { clip: rect(42px, 9999px, 45px, 0); }
    100% { clip: rect(90px, 9999px, 100px, 0); }
}

@keyframes glitch-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(52px, 9999px, 74px, 0); }
    10% { clip: rect(79px, 9999px, 85px, 0); }
    15% { clip: rect(75px, 9999px, 5px, 0); }
    20% { clip: rect(67px, 9999px, 61px, 0); }
    100% { clip: rect(10px, 9999px, 35px, 0); }
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link i {
    margin-right: 8px;
    font-size: 12px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Share Tech Mono', monospace;
}

.status-online {
    color: var(--success);
    font-weight: bold;
}

.theme-toggle,
.menu-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.theme-toggle:hover,
.menu-toggle:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

.hero-section {
    min-height: 100vh;
    padding: 150px 30px 100px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.badge-text {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.badge-glow {
    position: absolute;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: glowMove 3s infinite linear;
    opacity: 0.3;
}

@keyframes glowMove {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(200px); }
}

.hero-title {
    margin-bottom: 30px;
    width: 100%;
}

.title-line {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.1;
    word-wrap: break-word;
    word-break: break-word;
}

.typing-container {
    display: inline-block;
    position: relative;
}

.typing-text {
    color: var(--primary-color);
}

.typing-cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    width: 100%;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.cyber-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
    max-width: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-dark);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.outline-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cyber-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.secondary-btn:hover,
.outline-btn:hover {
    background: var(--primary-color);
    color: var(--background-dark);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cyber-btn:hover .btn-glow {
    left: 100%;
}

.hero-terminal {
    animation: fadeInUp 1s ease-out 0.3s both;
    width: 100%;
}

.terminal-window {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: var(--danger); }
.dot.yellow { background: var(--warning); }
.dot.green { background: var(--success); }

.terminal-title {
    color: var(--text-secondary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
}

.terminal-body {
    padding: 25px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
}

.terminal-prompt {
    color: var(--primary-color);
    font-weight: bold;
}

.terminal-response {
    color: var(--text-primary);
    margin-left: 20px;
    margin-bottom: 15px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

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

.section {
    padding: 100px 30px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.title-number {
    color: var(--primary-color);
    opacity: 0.5;
    font-size: 1.5rem;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.about-image {
    position: relative;
    width: 100%;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    max-width: 100%;
}

.cyber-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hexagon {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--primary-color),
        transparent
    );
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: rotate 20s linear infinite;
}

.hexagon:nth-child(2) {
    animation-delay: -6.66s;
    opacity: 0.6;
}

.hexagon:nth-child(3) {
    animation-delay: -13.33s;
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    max-width: 100%;
}

.image-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.about-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.highlight-item:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.highlight-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.category-tab {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
}

.category-tab i {
    font-size: 18px;
}

.category-tab:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.category-tab.active {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
}

.skills-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    min-height: 400px;
    width: 100%;
}

.skills-category {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.skills-category.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.skills-category h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
}

.skills-grid {
    display: grid;
    gap: 25px;
    width: 100%;
}

.skill-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 100%;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.skill-header i {
    color: var(--primary-color);
    font-size: 20px;
}

.skill-header span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

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

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-out;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.tool-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.tool-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary-color);
}

.tool-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.tool-level {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.dev-item {
    text-align: center;
    width: 100%;
}

.dev-chart {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.dev-chart svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.bg-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 1.5s ease-out;
}

.dev-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.dev-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.analysis-content {
    display: grid;
    gap: 20px;
    width: 100%;
}

.analysis-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
}

.analysis-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.analysis-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 5px;
}

.analysis-item h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.analysis-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%;
}

.filter-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

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

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.7s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

.project-badge .badge {
    background: var(--primary-color);
    color: var(--background-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.project-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
}

.project-tech span {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--primary-color);
}

.project-link i {
    font-size: 12px;
}

.ctf-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.ctf-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ctf-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.platform-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    width: 100%;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.platform-logo {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.platform-header h3 {
    flex: 1;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
}

.platform-rank {
    background: var(--primary-color);
    color: var(--background-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.platform-stats {
    margin-bottom: 25px;
    width: 100%;
}

.platform-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.platform-stat:last-child {
    border-bottom: none;
}

.platform-stat span:first-child {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Share Tech Mono', monospace;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.platform-link:hover {
    gap: 15px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
}

.contact-info {
    display: grid;
    gap: 30px;
    width: 100%;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    width: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.info-link:hover {
    gap: 15px;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
}

.form-header {
    margin-bottom: 30px;
    width: 100%;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.form-header p {
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    resize: vertical;
    max-width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.encryption-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 10px;
    width: 100%;
}

.encryption-note i {
    color: var(--primary-color);
}

.encryption-note span {
    color: var(--text-secondary);
    font-size: 14px;
}

.cyber-footer {
    background: var(--background-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 30px 30px;
    width: 100%;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
    width: 100%;
}

.footer-logo .logo-glitch {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-secondary);
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.link-group h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.link-group a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.link-group a i {
    width: 20px;
    font-size: 14px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.system-monitor {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.monitor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.monitor-label {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.monitor-value {
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-weight: 600;
    font-size: 14px;
}

.monitor-value.online {
    color: var(--success);
}

.copyright {
    text-align: center;
    width: 100%;
}

.copyright p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.disclaimer i {
    color: var(--warning);
    font-size: 14px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
    
    .hero-section {
        padding: 100px 15px 60px;
        min-height: auto;
        width: 100%;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }
    
    .title-line {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .cyber-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 13px;
    }

    .nav-container {
        padding: 0 15px;
        width: 100%;
    }
    
    .logo-glitch {
        font-size: 22px;
    }
    
    .logo-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .theme-toggle,
    .menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 14px;
        min-width: 44px;
        min-height: 44px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background-dark);
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        min-height: 44px;
    }

    .about-card {
        padding: 20px;
        gap: 30px;
        width: 100%;
        grid-template-columns: 1fr;
    }
    
    .image-container {
        width: 200px;
        height: 200px;
    }
    
    .image-placeholder {
        width: 160px;
        height: 160px;
        font-size: 50px;
    }
    
    .image-stats {
        gap: 15px;
        margin-top: 20px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-tabs {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .category-tab {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        min-height: 44px;
    }
    
    .skills-content {
        padding: 20px;
        min-height: auto;
        width: 100%;
    }
    
    .skills-category h3 {
        font-size: 1.4rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dev-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dev-chart {
        width: 80px;
        height: 80px;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
        min-height: 44px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 20px;
        width: 100%;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-tech {
        justify-content: center;
    }
    
    .project-tech span {
        font-size: 10px;
        padding: 4px 12px;
    }

    .ctf-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .ctf-platforms {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .platform-card {
        padding: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }
    
    .contact-form {
        padding: 20px;
        width: 100%;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .info-card,
    .platform-card,
    .stat-card,
    .tool-item,
    .analysis-item {
        padding: 15px;
    }
    
    .analysis-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .link-group {
        text-align: center;
    }
    
    .link-group a {
        justify-content: center;
    }
    
    .system-monitor {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-line {
        height: 30px;
    }

    .section {
        padding: 60px 15px;
        width: 100%;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .title-number {
        font-size: 1.2rem;
    }

    .terminal-window {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        width: 100vw;
        position: relative;
        left: -15px;
        right: -15px;
    }
    
    .terminal-body {
        padding: 20px;
        font-size: 12px;
    }
    
    .terminal-loader {
        margin: 0 15px;
    }

    .nav-logo {
        max-width: 150px;
    }
    
    .logo-glitch {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .loader {
        width: 100%;
        padding: 0 20px;
    }
    
    .text {
        padding: 20px;
        font-size: 14px;
    }

    .disclaimer {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .hero-badge {
        padding: 6px 15px;
        margin-bottom: 20px;
    }
    
    .badge-text {
        font-size: 10px;
    }
    
    .cyber-grid {
        background-size: 30px 30px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }

    .cyber-btn:hover,
    .nav-link:hover,
    .filter-btn:hover,
    .category-tab:hover {
        transform: none;
    }
    
    .cyber-btn:active,
    .nav-link:active,
    .filter-btn:active,
    .category-tab:active {
        transform: scale(0.98);
    }
    
    .project-card:hover,
    .highlight-item:hover,
    .tool-item:hover,
    .stat-card:hover,
    .info-card:hover,
    .platform-card:hover,
    .analysis-item:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    .title-line {
        font-size: 1.8rem !important;
    }
    
    .dev-grid {
        grid-template-columns: 1fr;
    }
    
    .image-container {
        width: 250px;
        height: 250px;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 60px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 15px 40px;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .title-line {
        font-size: 1.8rem !important;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -300px;
        width: 300px;
        height: calc(100vh - 80px);
        background: var(--background-dark);
        flex-direction: column;
        padding: 40px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .title-line {
        font-size: 3rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dev-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
    
    .nav-menu {
        height: calc(-webkit-fill-available - 70px);
    }
}