/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Roboto Mono', monospace;
    background-color: #0a0a0a;
    color: #fafafa;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section with Background */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('./background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Content Spacer - fills space on mobile, empty on desktop */
.content-spacer {
    flex: 1;
}

@media (min-width: 768px) {
    .content-spacer {
        height: 100%;
    }
}

/* Bottom Left Content - responsive positioning */
.bottom-left-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-top: 85vh;
}

@media (min-width: 768px) {
    .bottom-left-content {
        position: fixed;
        bottom: 2rem;
        left: 2rem;
        max-width: 40rem;
        z-index: 10;
        gap: 2.5rem;
        padding-bottom: 5rem;
        margin-top: 0;
    }
}

/* Main Title */
.main-title {
    font-size: clamp(3.75rem, 10vw, 4rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
    letter-spacing: -0.025em;
    margin-bottom: 0;
    line-height: 1;
}

@media (min-width: 768px) {
    .main-title {
        font-size: clamp(6rem, 12vw, 12rem);
    }
}

/* Caption Text */
.caption-text {
    color: #9ca3af;
    font-size: 0.875rem;
    max-width: 28rem;
    line-height: 1.5;
    margin-top: -0.5rem;
}

@media (min-width: 768px) {
    .caption-text {
        max-width: 32rem;
        margin-top: -1rem;
    }
}

/* Social Links Grid */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
}

@media (min-width: 768px) {
    .social-grid {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        gap: 4rem;
        margin-bottom: 0;
        justify-content: flex-start;
    }
}

/* Social Container */
.social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}

/* Social Box Styling */
.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00CED1;
    border-radius: 0;
    width: 4rem;
    height: 4rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-container:hover .social-box {
    background: rgba(0, 206, 209, 0.1);
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.3);
    transform: translateY(-2px);
}

.social-container:hover .social-title {
    color: #00CED1;
}

.social-icon {
    font-size: 1.25rem;
    color: #00CED1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    color: #00CED1;
}

.social-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1;
    text-align: center;
    color: #00CED1;
    transition: color 0.3s ease;
    max-width: 6rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: none;
}

@media (min-width: 768px) {
    .social-title {
        display: block;
    }
}


/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    border-top: none;
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 112rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links span {
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-links span:hover {
    color: #00CED1;
}

/* Responsive Design */
@media (min-width: 640px) {
    .footer-main {
        flex-direction: row;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .main-title {
        margin-bottom: 2rem;
    }
    
    .social-grid {
        margin-top: 2rem;
    }
    
    .social-box {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 0.75rem;
    }
    
    .social-box {
        padding: 0.5rem;
    }
    
    .social-icon {
        font-size: 1rem;
    }
    
    .social-title {
        font-size: 0.65rem;
    }
}

/* Additional hover and focus states for accessibility */
.social-box:focus {
    outline: 2px solid #00D4FF;
    outline-offset: 2px;
}

.footer-links span:focus {
    outline: 1px solid #00D4FF;
    outline-offset: 2px;
}