* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0f172a;
    color: #f1f5f9;
    overflow-x: hidden;
}

/* Snow Animation */
.snowflake {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(white, #a5f3fc);
    border-radius: 50%;
    filter: drop-shadow(0 0 10px #a5f3fc);
    animation: fall 10s linear infinite;
    z-index: 1;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Header Section */
.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9)), url('/assets/dragonspine_bg.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-text {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #e2e8f0;
    text-shadow: 0 0 10px rgba(165, 243, 252, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px rgba(165, 243, 252, 0.7);
    }
    50% {
        text-shadow: 0 0 20px rgba(165, 243, 252, 1);
    }
    100% {
        text-shadow: 0 0 10px rgba(165, 243, 252, 0.7);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #94a3b8;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #4da3ff, #3b82f6);
}

/* About Section */
.about {
    padding: 100px 50px;
    background-color: #1e293b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #e2e8f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #a5f3fc);
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Skills Section */
.skills {
    padding: 100px 50px;
    background-color: #0f172a;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.skill-card {
    background-color: #1e293b;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #60a5fa;
}

.skill-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.skill-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.skill-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Waifu Appeal Section */
.waifu-appeal {
    padding: 100px 50px;
    background-color: #1e293b;
    background-image: radial-gradient(circle at center, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 1) 100%);
}

.appeal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.appeal-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.appeal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border-left-color: #60a5fa;
}

.appeal-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.appeal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.appeal-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Vengeance Section */
.vengeance {
    padding: 150px 50px;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('/assets/vengeance_bg.jpg') center/cover fixed;
    position: relative;
}

.vengeance-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vengeance-title {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    position: relative;
    display: inline-block;
}

.vengeance-title::before,
.vengeance-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.vengeance-title::before {
    left: -80px;
}

.vengeance-title::after {
    right: -80px;
}

.vengeance-quote {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    to {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.7);
    }
}

.vengeance-explanation {
    margin-top: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.vengeance-explanation p {
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    padding: 100px 50px;
    background-color: #0f172a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 450px; /* Fixed height for portrait images */
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 20px;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
}

.lightbox-close:hover {
    color: #60a5fa;
}

.lightbox-caption {
    margin: 20px auto;
    color: white;
    font-size: 1.2rem;
    max-width: 700px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 35px;
    font-weight: bold;
    padding: 16px;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(59, 130, 246, 0.7);
}

/* Footer Section */
.footer {
    padding: 50px;
    background-color: #0f172a;
    text-align: center;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 20px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #1e293b;
    border-radius: 50%;
    color: #60a5fa;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #60a5fa;
    color: #0f172a;
    transform: translateY(-5px);
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e2e8f0;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.logo:hover {
    color: #60a5fa;
}

/* Reveal Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .about-content, .skills-container {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .vengeance-title {
        font-size: 2.2rem;
    }
    .vengeance-title::before,
    .vengeance-title::after {
        display: none;
    }
    .vengeance-quote {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    .gallery-item {
        height: 350px;
    }
    .appeal-grid {
        grid-template-columns: 1fr;
    }
    .navigation {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
}