:root {
    --bg-color: #050510;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-color: #8a2be2;
    --accent-glow: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-globes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.g1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -100px;
    left: -100px;
    animation: float 10s infinite alternate;
}

.g2 {
    width: 500px;
    height: 500px;
    background: #00d2ff;
    bottom: -150px;
    right: -150px;
    animation: float 12s infinite alternate-reverse;
}

.g3 {
    width: 300px;
    height: 300px;
    background: #ff0055;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.container {
    text-align: center;
    z-index: 10;
}

.hero {
    margin-bottom: 2rem;
}

.brand-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    animation: slideDown 1s ease-out;
}

.brand-title .highlight {
    background: linear-gradient(to right, #00d2ff, var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeIn 1.5s ease-out;
}

.premium-btn {
    position: relative;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    cursor: pointer;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: var(--font-main);
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.premium-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

/* Modal Dashboard */
.dashboard-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.dashboard-modal.active {
    opacity: 1;
    pointer-events: all;
}

.glass-panel {
    width: 90%;
    max-width: 1000px;
    background: rgba(20, 20, 40, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dashboard-modal.active .glass-panel {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.close-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-icon:hover {
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.card-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Scrollbar */
.projects-grid::-webkit-scrollbar {
    width: 6px;
}
.projects-grid::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

/* Animations */
@keyframes slideDown { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hidden { display: none; } 
/* Note: CSS class hidden vs opacity transition logic handled by JS class 'active' + css display none logic needs care. 
   Actually, let's just mostly use 'active' for opacity and pointer events, 
   but display flex/none is good to fully hide. */
.dashboard-modal.hidden { display: none; }
