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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Header */
header {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.7;
}

/* Loading Screen */
.loading-screen {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.loading-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Content */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.top-line {
    width: 60px;
    height: 2px;
    background: #ffffff;
    margin-bottom: 1rem;
}

.intro-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.intro-text {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 500px;
}

/* Right Content */
.right-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin: 0;
}

.section-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 400px;
}

.section-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    width: fit-content;
}

.section-link:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

/* Footer */
footer {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 10;
}

.footer-icon {
    width: 40px;
    height: 40px;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .loading-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .left-content {
        align-items: center;
    }

    .intro-text {
        max-width: 100%;
    }

    .right-content {
        align-items: center;
    }

    .section-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .loading-screen {
        padding: 2rem 1rem;
    }

    .loading-content {
        gap: 2rem;
    }

    .intro-title {
        font-size: 2rem;
    }

    .right-content {
        gap: 2rem;
    }

    footer {
        bottom: 1rem;
        left: 1rem;
    }
}

/* Experience Scroll Section */
.experience-scroll-section {
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.experience-scroll-container {
    display: flex;
    gap: 2rem;
    animation: scroll-horizontal 30s linear infinite;
    width: fit-content;
}

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

/* Experience Page */
.experience-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.experience-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Skills Page */
.skills-page {
    min-height: calc(100vh - 120px);
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}


.skills-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.skills-page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 4rem;
    color: #ffffff;
    text-align: center;
}

/* Tier Container */
.tier {
    margin-bottom: 3rem;
}

/* Tier 1: Core Technical Skills */
.tier-1-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tier-1-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
}

/* Tier 2: Network Management */
.tier-2 {
    display: flex;
    justify-content: center;
}

.tier-2-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 900px;
}

/* Tier 3: Community & Event Skills */
.tier-3-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tier-3-card {
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
}

/* Tier 4: General & Project Management */
.tier-4 {
    display: flex;
    justify-content: center;
}

.tier-4-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 700px;
}

/* Skill Card Common Styles */
.skill-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.skill-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

/* Badge Row */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Feature Bar */
.feature-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Skill List */
.skill-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 4rem;
    color: #ffffff;
    text-align: center;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.experience-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.experience-period {
    font-size: 0.9rem;
    color: rgba(59, 130, 246, 0.8);
    margin-bottom: 0;
    font-weight: 500;
}

.experience-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Server Row Container */
.server-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* About Server Sections */
.about-server {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.server-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.server-subtitle {
    font-size: 0.9rem;
    color: rgba(59, 130, 246, 0.8);
    margin-bottom: 1rem;
    font-weight: 500;
}

.server-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Vouch Section */
.vouch-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vouch-quote {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vouch-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.vouch-author {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: right;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .experience-page,
    .skills-page {
        padding: 2rem 1rem;
    }

    .page-title {
        margin-bottom: 2rem;
    }

    .tier-1-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tier-3-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tier-2-card,
    .tier-4-card {
        max-width: 100%;
    }
}

/* Contact Page */
.contact-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-options {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.contact-card-large {
    padding: 2.5rem 3.5rem;
    min-width: 350px;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.contact-card-large .contact-icon {
    font-size: 4rem;
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.contact-card-large .contact-title {
    font-size: 2rem;
}

.contact-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
}

/* Discord Page */
.discord-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.discord-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.discord-profile-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-icon-large {
    font-size: 5rem;
}

.discord-info {
    flex: 1;
}

.discord-username {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.discord-link {
    color: rgba(59, 130, 246, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.discord-link:hover {
    color: rgba(59, 130, 246, 1);
}

.discord-activity {
    margin-bottom: 3rem;
}

.activity-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.activity-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
}

.activity-status {
    display: inline-block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.activity-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.discord-message {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
}

.message-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.message-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

/* Email Page */
.email-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.email-content {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.email-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
}

.email-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.email-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #ffffff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Popup Modal */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #ffffff;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    margin-top: 0;
}

.popup-message {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-card-large {
        min-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .contact-card-large .contact-icon {
        font-size: 3rem;
    }
    
    .contact-card-large .contact-title {
        font-size: 1.5rem;
    }

    .contact-page,
    .discord-page,
    .email-page {
        padding: 2rem 1rem;
    }

    .discord-header {
        flex-direction: column;
        text-align: center;
    }

    .discord-icon-large {
        font-size: 4rem;
    }
}

