:root {
    --primary-color: #6b1fff;
    --secondary-color: #ff36f7;
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ff006e;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation Styles */
nav {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gradient-text {
    position: relative;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    );
    background-size: 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 6s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    min-height: 100vh;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Social Links */
.social-links {
    margin-top: 2rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
}

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* About Section Styles */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 100px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 300px;
    height: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.about-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(107, 31, 255, 0.4), rgba(255, 54, 247, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.highlight-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.highlight-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Skills Section Styles */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.skills-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.skill-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.skill-card p {
    color: #e0e0e0;
    line-height: 1.6;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.5;
    transition: all 0.3s ease;
}

.skill-card:hover .card-bg {
    transform: scale(1.1);
    opacity: 0.7;
}

.skill-card:hover .skill-content {
    background: rgba(0, 0, 0, 0.5);
}

/* Contact Section Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.5s ease, background 0.3s ease;
    width: 300px;
    perspective: 1000px;
}

.rotate-card {
    transform-style: preserve-3d;
}

.rotate-card:hover {
    transform: rotateY(10deg) rotateX(10deg) translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.rotate-card:nth-child(2):hover {
    transform: rotateY(-10deg) rotateX(10deg) translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.rotate-card:hover .contact-icon {
    transform: scale(1.2) rotate(360deg);
}

.contact-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #b0b0b0;
}

@font-face {
    font-family: 'ROG Fonts';
    src: url('https://db.onlinewebfonts.com/t/1c45e28f8e86cc89876f003b953cc3e9.woff2') format('woff2');
}

footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem 1rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'ROG Fonts', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
    font-family: monospace;
    font-size: 1rem;
}

.footer-links li {
    margin: 0.5rem 0;
    color: #666;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom .gradient-text {
    font-family: 'ROG Fonts', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
}

.footer-quote {
    font-family: monospace;
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.rog-text {
    font-family: 'ROG Fonts', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.abstract-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    );
    opacity: 0;
    transition: all 0.5s ease;
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.about-image:hover .abstract-animation {
    opacity: 0.8;
}

/* Quote Card Styles */
.quote-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.quote-card:hover::before {
    transform: translateX(100%);
}

.quote-text {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'ROG Fonts', sans-serif;
    text-shadow: 0 0 10px rgba(var(--accent-color), 0.5);
}

.quote-author {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-style: italic;
}

/* Error Overlay */
.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 90;
}

.error-overlay.active {
    opacity: 1;
}

.glitch-text {
    font-size: 15rem;
    font-family: 'ROG Fonts', sans-serif;
    color: var(--accent-color);
    position: relative;
    text-shadow: 
        2px 2px var(--primary-color),
        -2px -2px var(--secondary-color);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.personal-intro {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 2.5s;
}

.typing-text-title {
    margin-top: 1rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

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

/* Terminal Animation */
.terminal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.2;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.4);
}

.terminal {
    font-family: 'Courier New', monospace;
    color: #00ff00;
    padding: 40px;
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
    height: 100%;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.terminal-line {
    white-space: nowrap;
    overflow: hidden;
    animation: typing 0.8s steps(40, end);
    margin-bottom: 8px;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Coming Soon Message */
.coming-soon-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: 'Courier New', monospace;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(var(--accent-color), 0.2);
}

.coming-soon-message.show {
    opacity: 1;
    visibility: visible;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-slash {
    color: #666;
    font-weight: bold;
}

.typing-message {
    color: var(--accent-color);
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-color);
    animation: typing 2s steps(20), blink 0.5s step-end infinite alternate;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    50% { border-color: transparent }
} 