:root {
    --primary-bg: #000000;
    --card-bg: #111111;
    --accent-red: #ff0000;
    --text-color: #ffffff;
    --text-muted: #888888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-top: 3px solid var(--accent-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

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

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #ff0000;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.1s ease, height 0.1s ease, border-width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.custom-cursor.clicked {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

.cursor-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: particleBurst 0.6s ease-out forwards;
}

@keyframes particleBurst {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Navbar with Name Top-Left */
.navbar {
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-color);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-red);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.part2-btn {
    text-decoration: none;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    background: transparent;
}

.part2-btn:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.4);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 120px 20px 50px;
    animation: fadeInDown 1s ease-out;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #ff0000 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.hero-section p {
    color: #ddd;
    font-size: 1.3rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.5s forwards;
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* Cards Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding-bottom: 50px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    /* Hidden initially for JS animation */
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-red);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
    border-color: var(--accent-red);
}

.card:hover::before {
    transform: scaleY(1);
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.file-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.upcoming-card {
    border: 2px dashed var(--accent-red) !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 100%);
}

.upcoming-card .file-badge {
    background: linear-gradient(135deg, #ff6b00, #ff0000);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.upcoming-card:hover {
    border-style: solid !important;
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.25);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.btn {
    text-decoration: none;
    background-color: transparent;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-red);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    border-top: 2px solid var(--accent-red);
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer h3 {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-message {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-link {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.portfolio-link:hover {
    background: var(--accent-red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.whatsapp-section {
    margin: 25px 0 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-message {
    color: #25d366;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

.whatsapp-link:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #333;
    margin-top: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .part2-btn {
        padding: 7px 12px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .hero-section {
        padding: 80px 20px 40px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .container {
        padding: 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .card h2 {
        font-size: 1.3rem;
    }

    .file-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-particle {
        display: none;
    }

    .footer {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .footer h3 {
        font-size: 1.2rem;
    }

    .footer-message {
        font-size: 0.95rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .whatsapp-section {
        padding: 15px;
        margin: 20px 0 15px 0;
    }

    .whatsapp-message {
        font-size: 0.95rem;
    }

    .whatsapp-link {
        font-size: 0.9rem;
        padding: 10px 25px;
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .part2-btn {
        padding: 6px 10px;
        font-size: 0.68rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .card-content {
        padding: 15px;
    }
}

/* Print Protection */
@media print {
    body {
        display: none !important;
    }

    body::before {
        content: 'Printing is disabled on this website!';
        display: block;
        font-size: 2rem;
        text-align: center;
        padding: 50px;
    }
}