/* =============================================
   SHREYAS S - PORTFOLIO STYLES
   Dark theme, no-scroll, shooting stars bg
   ============================================= */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
    /* No scrolling */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
}

/* Shooting Stars Canvas Background */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.header {
    margin-bottom: 20px;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Tab Content */
.tab-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.tab-panel {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* =============================================
   SOCIAL LINKS TAB
   ============================================= */
.social-layout {
    display: flex;
    gap: 40px;
    width: 100%;
    height: 100%;
    align-items: stretch;
}

/* Spline 3D Container - Full page interaction, seamless blend */
.spline-container {
    flex: 1.5;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    min-height: 400px;
    position: relative;
    /* Allow cursor to pass through to Spline */
    pointer-events: auto;
}

.spline-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    /* Extend iframe to capture cursor movements */
    position: absolute;
    top: -100px;
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    clip-path: inset(100px 100px 100px 100px);
}

/* Hide Spline watermark with black gradient */
.spline-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, #000000 0%, transparent 100%);
    pointer-events: none;
    z-index: 10;
}

/* Social Buttons */
.social-buttons {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    padding: 20px 0;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-btn-row {
    display: flex;
    gap: 12px;
}

.social-btn-row .social-btn {
    flex: 1;
    padding: 12px 20px;
}

/* Individual Button Colors */
.social-btn.discord {
    background: #5865F2;
}

.social-btn.discord:hover {
    background: #4752c4;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.instagram:hover {
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.4);
}

.social-btn.linkedin {
    background: #0A66C2;
}

.social-btn.linkedin:hover {
    background: #004182;
    box-shadow: 0 4px 20px rgba(10, 102, 194, 0.4);
}

.social-btn.reddit {
    background: #FF4500;
}

.social-btn.reddit:hover {
    background: #cc3700;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.social-btn.twitter {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn.twitter:hover {
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.social-btn.github {
    background: linear-gradient(135deg, #24292e 0%, #1a1d21 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn.github:hover {
    background: linear-gradient(135deg, #3a3f44 0%, #24292e 100%);
    box-shadow: 0 4px 20px rgba(36, 41, 46, 0.5);
}

.social-btn.coffee {
    background: #FFDD00;
    color: #000000;
}

.social-btn.coffee:hover {
    background: #e6c700;
    box-shadow: 0 4px 20px rgba(255, 221, 0, 0.4);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Removed discord-username - Discord is now a link */

/* =============================================
   CONTACT TAB
   ============================================= */
.contact-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.contact-container h2 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #e0e0e0;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(40, 40, 55, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.submit-btn {
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

/* =============================================
   SHOOTING STARS ANIMATION STYLES
   ============================================= */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.3);
}

/* =============================================
   NOTIFICATION SYSTEM
   ============================================= */
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification.success {
    border-color: rgba(76, 217, 100, 0.5);
}

.notification.success .notification-icon {
    color: #4cd964;
}

.notification.error {
    border-color: rgba(255, 69, 58, 0.5);
}

.notification.error .notification-icon {
    color: #ff453a;
}

.notification-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.notification-text {
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 0.5px;
}