/* ========================================
    BLACKGOLD STUDIO - LINKTREE LANDING PAGE
    Creative Studio Brand
    ======================================== */

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #F3C4AC;
    background: linear-gradient(135deg, #0d0806 0%, #1a0f0a 50%, #0a0605 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ========== BACKGROUND DECORATION ========== */
/* Subtle animated blobs for aesthetic appeal */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(122, 57, 27, 0.2) 0%, transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-animation 8s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -5%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(243, 196, 172, 0.15) 0%, transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 50% 40% 50%;
    animation: blob-animation 10s ease-in-out infinite reverse;
    z-index: -1;
    pointer-events: none;
}

/* ========== ANIMATIONS ========== */
@keyframes blob-animation {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(122, 57, 27, 0.3), 0 8px 24px rgba(0, 0, 0, 0.12);
    }
    50% {
        box-shadow: 0 0 30px rgba(122, 57, 27, 0.5), 0 12px 32px rgba(0, 0, 0, 0.15);
    }
}

/* ========== CONTAINER ========== */
.container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========== HEADER SECTION ========== */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fade-in-down 0.8s ease-out;
}

/* Logo Wrapper */
.logo-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #7A391B 0%, #F3C4AC 100%);
    border-radius: 50%;
    border: 2px solid #F5D4C3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(122, 57, 27, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 16px 40px rgba(122, 57, 27, 0.5);
}

.logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Brand Logo Image */
.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #F5D4C3;
    filter: drop-shadow(0 4px 8px rgba(122, 57, 27, 0.25));
}

/* Brand Name */
.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F3C4AC;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #7A391B 0%, #F3C4AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tagline */
.tagline {
    font-size: 1rem;
    font-weight: 300;
    color: #b89a85;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    flex: 1;
    animation: fade-in-up 0.8s ease-out 0.1s both;
}

.intro-text {
    text-align: center;
    font-size: 0.95rem;
    color: #b89a85;
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 300;
}

/* ========== LINKS SECTION ========== */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

/* ========== LINK BUTTONS (MAIN STYLES) ========== */
.link-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(20, 15, 10, 0.6);
    border: 1px solid rgba(122, 57, 27, 0.4);
    border-radius: 16px;
    text-decoration: none;
    color: #F3C4AC;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Background animated effect on hover */
.link-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(122, 57, 27, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.link-button:hover::before {
    width: 300px;
    height: 300px;
}

.link-button:hover,
.link-button:focus {
    background: rgba(30, 20, 12, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(122, 57, 27, 0.4);
    border-color: rgba(243, 196, 172, 0.6);
}

.link-button:active {
    transform: translateY(-2px);
}

/* Icon Wrapper */
.icon-wrapper {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #7A391B 0%, #F3C4AC 100%);
    color: white;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.link-button:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(122, 57, 27, 0.5);
}

/* Button Text Container */
.button-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    position: relative;
    z-index: 1;
    flex: 1;
}

.button-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #F3C4AC;
    display: block;
}

.button-subtext {
    font-size: 0.8rem;
    color: #8d7560;
    font-weight: 300;
    display: block;
}

.link-button:hover .button-subtext {
    color: #F3C4AC;
}

/* ========== PRIMARY BUTTON (VISIT WEBSITE) ========== */
.primary-btn {
    background: linear-gradient(135deg, rgba(122, 57, 27, 0.3) 0%, rgba(243, 196, 172, 0.2) 100%);
    border: 2px solid rgba(122, 57, 27, 0.5);
    margin-bottom: 8px;
}

.primary-btn:hover,
.primary-btn:focus {
    background: linear-gradient(135deg, rgba(122, 57, 27, 0.4) 0%, rgba(243, 196, 172, 0.3) 100%);
    border-color: rgba(243, 196, 172, 0.7);
    box-shadow: 0 10px 30px rgba(122, 57, 27, 0.5);
}

/* ========== SHOP BUTTON ========== */
.shop-btn {
    background: rgba(20, 15, 10, 0.7);
    border: 1.5px solid rgba(122, 57, 27, 0.4);
}

.shop-btn:hover,
.shop-btn:focus {
    background: rgba(30, 20, 12, 0.85);
    border-color: rgba(243, 196, 172, 0.6);
}

/* ========== SOCIAL DIVIDER ========== */
.social-divider {
    margin: 24px 0 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8d7560;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7A391B, transparent);
}

/* ========== INSTAGRAM BUTTON ========== */
.instagram-btn {
    border: 1.5px solid rgba(122, 57, 27, 0.35);
}

.instagram-btn .icon-wrapper {
    background: linear-gradient(135deg, #7A391B 0%, #F3C4AC 100%);
}

.instagram-btn:hover,
.instagram-btn:focus {
    border-color: rgba(243, 196, 172, 0.6);
    box-shadow: 0 8px 24px rgba(122, 57, 27, 0.35);
}

/* ========== TIKTOK BUTTON ========== */
.tiktok-btn {
    border: 1.5px solid rgba(122, 57, 27, 0.35);
}

.tiktok-btn .icon-wrapper {
    background: linear-gradient(135deg, #7A391B 0%, #F3C4AC 100%);
}

.tiktok-btn:hover,
.tiktok-btn:focus {
    border-color: rgba(243, 196, 172, 0.6);
    box-shadow: 0 8px 24px rgba(122, 57, 27, 0.35);
}

/* ========== SNAPCHAT BUTTON ========== */
.snapchat-btn {
    border: 1.5px solid rgba(122, 57, 27, 0.35);
}

.snapchat-btn .icon-wrapper {
    background: linear-gradient(135deg, #7A391B 0%, #F3C4AC 100%);
    color: #F3C4AC;
}

.snapchat-btn:hover,
.snapchat-btn:focus {
    border-color: rgba(243, 196, 172, 0.6);
    box-shadow: 0 8px 24px rgba(122, 57, 27, 0.35);
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    border: 1.5px solid rgba(122, 57, 27, 0.35);
}

.whatsapp-btn .icon-wrapper {
    background: linear-gradient(135deg, #7A391B 0%, #F3C4AC 100%);
    color: #F3C4AC;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
    border-color: rgba(243, 196, 172, 0.6);
    box-shadow: 0 8px 24px rgba(122, 57, 27, 0.35);
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(122, 57, 27, 0.3);
    font-size: 0.8rem;
    color: #b89a85;
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.footer a {
    color: #F3C4AC;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer a:hover {
    color: #F3C4AC;
    text-decoration: underline;
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 8, 6, 0.98) 0%, rgba(26, 15, 10, 0.98) 50%, rgba(10, 6, 5, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(10px);
}

.preloader.active {
    opacity: 1;
    visibility: visible;
}

.preloader-content {
    text-align: center;
    animation: fadeInScale 0.5s ease;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.preloader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #F5D4C3;
    animation: logoFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(122, 57, 27, 0.35));
}

/* Loading Spinner */
.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border: 4px solid rgba(122, 57, 27, 0.2);
    border-top: 4px solid #7A391B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 1.1rem;
    color: #F3C4AC;
    font-weight: 500;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Preloader Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 30px 16px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .link-button {
        padding: 14px 16px;
        gap: 12px;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .button-label {
        font-size: 0.9rem;
    }

    .button-subtext {
        font-size: 0.75rem;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 24px 12px;
        gap: 20px;
    }

    .header {
        margin-bottom: 24px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .logo-wrapper {
        margin-bottom: 16px;
    }

    .brand-name {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .intro-text {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .link-button {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .button-label {
        font-size: 0.85rem;
    }

    .button-subtext {
        font-size: 0.7rem;
    }

    .links-section {
        gap: 12px;
        margin-bottom: 32px;
    }

    .social-divider {
        margin: 20px 0 12px 0;
        font-size: 0.8rem;
    }

    .footer {
        font-size: 0.75rem;
        padding-top: 16px;
    }
}

/* Extra small phones (320px and below) */
@media (max-width: 360px) {
    .container {
        padding: 20px 10px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .link-button {
        padding: 11px 12px;
    }

    .icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .button-label {
        font-size: 0.8rem;
    }

    .button-subtext {
        font-size: 0.65rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus visible states for keyboard navigation */
.link-button:focus-visible {
    outline: 3px solid #7A391B;
    outline-offset: 2px;
}



/* ========== PRINT STYLES ========== */
@media print {
    body {
        background: white;
    }

    .logo {
        box-shadow: none;
    }

    .link-button {
        page-break-inside: avoid;
        border: 1px solid #ccc;
    }
}
