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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #330055 50%, #1a0033 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 60px 50px;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 100vh;
    align-items: start;
}

/* Left Panel - Portfolio */
.portfolio-section {
    position: sticky;
    top: 60px;
}

.portfolio-header {
    margin-bottom: 40px;
}

.portfolio-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ff1493 0%, #9d4edd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-role {
    font-size: 20px;
    color: #bb86fc;
    font-weight: 500;
    margin-bottom: 20px;
}

.portfolio-description {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.3);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #ff1493;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #bb86fc;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skill-tag {
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(157, 78, 221, 0.4);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(157, 78, 221, 0.3);
    border-color: rgba(255, 20, 147, 0.6);
    transform: translateY(-2px);
}

.cta-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ff1493 0%, #9d4edd 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

/* Right Panel - Apps Grid */
.apps-section {
    display: flex;
    flex-direction: column;
}

.apps-header {
    margin-bottom: 40px;
}

.apps-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.apps-subtitle {
    font-size: 16px;
    color: #aaa;
}

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

.app-card {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(255, 20, 147, 0.05) 100%);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 20, 147, 0.6);
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2) 0%, rgba(255, 20, 147, 0.1) 100%);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.2);
}

.app-card:hover::before {
    opacity: 1;
}

.app-icon {
    font-size: 48px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.app-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}

.app-description {
    font-size: 12px;
    color: #aaa;
    text-align: center;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 30px;
    }

    .portfolio-section {
        position: relative;
        top: 0;
    }

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

    .apps-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        gap: 40px;
    }

    .portfolio-title {
        font-size: 28px;
    }

    .apps-title {
        font-size: 24px;
    }

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

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

    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Loading animation for the explore button */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #ff1493;
    border-radius: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.05);
        opacity: 0;
    }
}
