* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Courier New', monospace;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Page transitions */
.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.page.active {
    opacity: 1;
    visibility: visible;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    z-index: 1;
    position: relative;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.3); }
}

.typing-container {
    margin-bottom: 3rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-text {
    font-size: 1.2rem;
    color: #ccc;
    margin-right: 0.5rem;
}

.cursor {
    animation: blink 1s infinite;
    font-size: 1.2rem;
    color: #fff;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    background: none;
    border: none;
    color: #fff;
    padding: 0;
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* About page styles */
.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    align-self: flex-start;
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.back-btn:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: translateX(-5px);
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.about-content {
    max-width: 600px;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #ccc;
}

.projects-content {
    max-width: 600px;
    text-align: center;
}

.projects-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #ccc;
}

.project-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin: 2rem auto;
    max-width: 500px;
    text-align: center;
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.project-description {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-website {
    display: inline-block;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid #5865f2;
    color: #5865f2;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.project-website:hover {
    background: rgba(88, 101, 242, 0.3);
    border-color: #4752c4;
    color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-widget-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.discord-widget-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Discord embed styles - Exact Discord look */
.discord-embed {
    background: #2f3136;
    border: 1px solid #40444b;
    border-radius: 8px;
    padding: 12px;
    max-width: 400px;
    margin: 0 auto;
    font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.discord-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.discord-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    background: #5865f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    flex-shrink: 0;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.discord-info {
    flex: 1;
    min-width: 0;
}

.discord-username {
    font-weight: 500;
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.discord-username-tag {
    opacity: 0.7;
    font-size: 12px;
}

.discord-status {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #b9bbbe;
    margin-top: 2px;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 4px;
    flex-shrink: 0;
}

.status-indicator.online {
    background: #43b581;
}

.status-indicator.dnd {
    background: #f04747;
}

.status-indicator.idle {
    background: #faa61a;
}

.status-indicator.offline {
    background: #747f8d;
}

.discord-activity {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border-left: none;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.activity-label {
    font-size: 12px;
    color: #b9bbbe;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.activity-name {
    color: #b9bbbe;
    font-weight: 400;
    font-size: 12px;
}

/* Spotify activity styles - Exact Discord Spotify look */
.spotify-activity {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 4px;
    border-left: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.spotify-header {
    display: flex;
    align-items: center;
    gap: 4px;
}

.spotify-icon {
    font-size: 12px;
    margin-right: 0;
    color: #43b581;
}

.spotify-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.spotify-song {
    color: #b9bbbe;
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 0;
}

.spotify-artist {
    color: #b9bbbe;
    font-size: 12px;
}

.spotify-album-art {
    display: none;
}

.spotify-album-art img {
    display: none;
}

/* Music controls */
.music-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.music-btn.playing {
    background: rgba(29, 185, 84, 0.3);
    border-color: #1db954;
}

.music-info {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-start-hint {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .typing-text, .cursor {
        font-size: 1rem;
    }
    
    .buttons {
        gap: 1rem;
    }
    
    .btn {
        font-size: 1rem;
    }
}
