@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Rubik:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ff8787;
    --accent-color: #ffd93d;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 107, 107, 0.3);
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

* {
    user-zoom: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: default;
    overflow-x: hidden;
}

body {
    background-image: url("./img/background.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    z-index: 1;
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    transition: all var(--transition-speed) ease;
    display: block;
    margin: 0 auto;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.8);
}

.main-title {
    font-family: 'Rubik', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-weight: 300;
}

.dates {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
}

/* Content Sections */
.content-section {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
}

.content-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 25px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.content-section h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 1rem 0;
}

/* Achievement Grid */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.5));
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.achievement-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

/* Quotes Section */
.quotes {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 217, 61, 0.1));
}

.quote {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    transition: all var(--transition-speed) ease;
}

.quote:hover {
    background: rgba(0, 0, 0, 0.5);
    border-left-width: 6px;
    transform: translateX(5px);
}

.quote p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
}

/* Legacy Section */
.legacy .closing {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
}

.technoblade-never-dies {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    }
    50% {
        opacity: 0.8;
        text-shadow: 0 0 30px rgba(255, 107, 107, 0.8);
    }
}

/* Footer start */
.foot {
    margin-top: 3rem;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 2px solid var(--card-border);
}

.foot .credit {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.chinmay-link {
    background: linear-gradient(90deg, #a855f7, #ec4899, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    transition: background-position 0.5s ease;
    text-decoration: none;
    font-weight: 600;
}

.chinmay-link:hover,
.chinmay-link:focus,
.chinmay-link:active {
    background-position: right center;
    -webkit-text-fill-color: transparent !important;
    text-decoration: none !important;
    filter: none !important;
}

.copyright {
    color: var(--text-muted);
    opacity: 0.9;
    font-size: 0.95em;
}
/* Footer end */

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .hero {
        padding: 1rem 0 2rem;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .dates {
        font-size: 1rem;
    }

    .content-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quote p {
        font-size: 1rem;
    }

    .technoblade-never-dies {
        font-size: 1.5rem;
    }

    .foot {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .achievement-card h3 {
        font-size: 1.1rem;
    }
}
