/* ========== RESET & GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Comic Relief", system-ui;
    font-style: normal;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url("../img/background.jpgroom.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(220, 20, 60, 0.15) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: -1;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: linear-gradient(
        135deg,
        rgba(220, 20, 60, 0.95) 0%,
        rgba(178, 34, 34, 0.95) 100%
    );
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-menu li a.active {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ========== MINECRAFT TIPP BANNER ========== */
.tip-banner {
    background: linear-gradient(
        90deg,
        rgba(255, 165, 0, 0.95) 0%,
        rgba(255, 140, 0, 0.95) 100%
    );
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tip {
    color: white;
    font-size: 18px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.tip strong {
    font-weight: bold;
    font-size: 20px;
}

/* ========== HERO SECTION ========== */
.hero-section {
    padding: 80px 20px;
    animation: fadeIn 1s ease-in;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.98);
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

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

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #dc143c;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    flex-shrink: 0;
}

.profile-pic:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.6);
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 64px;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #dc143c 0%, #b22222 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 28px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: #555;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #dc143c 0%, #b22222 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    background: white;
    color: #dc143c;
    border: 2px solid #dc143c;
}

.btn-secondary:hover {
    background: #dc143c;
    color: white;
    transform: translateY(-3px);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    padding: 40px 20px 80px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== INTRO CARD ========== */
.intro-card {
    background: linear-gradient(135deg, #dc143c 0%, #b22222 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.3);
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.intro-card .section-title {
    color: white;
    font-size: 36px;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-card p {
    color: white;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

/* ========== INFO GRID ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeIn 1s ease-in 0.4s backwards;
}

.info-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border-bottom: 5px solid #dc143c;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #dc143c 0%, #b22222 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(220, 20, 60, 0.25);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

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

.info-card h2 {
    font-size: 26px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.info-card p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* ========== INTERESTS LIST ========== */
.interests-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.interests-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.interests-list li:last-child {
    border-bottom: none;
}

.interests-list li:hover {
    padding-left: 10px;
    color: #dc143c;
}

.list-emoji {
    font-size: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.interests-list li:hover .list-emoji {
    transform: scale(1.3) rotate(10deg);
}

/* ========== TIP BOX ========== */
.tip-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #ffa500;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
}

.tip-box strong {
    color: #e67e22;
    font-size: 18px;
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #dc143c 0%, #b22222 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(
        135deg,
        rgba(220, 20, 60, 0.95) 0%,
        rgba(178, 34, 34, 0.95) 100%
    );
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content p {
    color: white;
    margin: 0;
    font-size: 16px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
    }

    .info-card {
        padding: 25px;
    }

    .card-icon {
        font-size: 40px;
    }

    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu li a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .tip {
        font-size: 16px;
    }

    .tip strong {
        font-size: 17px;
    }

    .minecraft-fox {
        bottom: 10px;
        left: 10px;
    }

    .fox-image {
        width: 100px;
    }
}

/* ========== MINECRAFT FOX ========== */
.minecraft-fox {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    animation: foxBounce 3s ease-in-out infinite;
}

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

.fox-image {
    width: 150px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

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