/* Minimalistic CSS for Social Fame */

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #f6e628;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #eab308;
}

/* Navbar */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Floating Social Media Icons */
.floating-icons {
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.15);
    animation: float-gentle 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.floating-icon:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Brand Colors for Floating Icons */
.icon-instagram { color: #E1306C; background: rgba(225, 48, 108, 0.05); border-color: rgba(225, 48, 108, 0.1); }
.icon-tiktok { color: #000000; background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); }
.icon-youtube { color: #FF0000; background: rgba(255, 0, 0, 0.05); border-color: rgba(255, 0, 0, 0.1); }
.icon-facebook { color: #1877F2; background: rgba(24, 119, 242, 0.05); border-color: rgba(24, 119, 242, 0.1); }
.icon-twitter { color: #1DA1F2; background: rgba(29, 161, 242, 0.05); border-color: rgba(29, 161, 242, 0.1); }
.icon-spotify { color: #1DB954; background: rgba(29, 185, 84, 0.05); border-color: rgba(29, 185, 84, 0.1); }
.icon-linkedin { color: #0A66C2; background: rgba(10, 102, 194, 0.05); border-color: rgba(10, 102, 194, 0.1); }
.icon-telegram { color: #0088cc; background: rgba(0, 136, 204, 0.05); border-color: rgba(0, 136, 204, 0.1); }

.icon-instagram:hover { color: #E1306C; background: rgba(225, 48, 108, 0.1); }
.icon-tiktok:hover { color: #000000; background: rgba(0, 0, 0, 0.1); }
.icon-youtube:hover { color: #FF0000; background: rgba(255, 0, 0, 0.1); }
.icon-facebook:hover { color: #1877F2; background: rgba(24, 119, 242, 0.1); }
.icon-twitter:hover { color: #1DA1F2; background: rgba(29, 161, 242, 0.1); }
.icon-spotify:hover { color: #1DB954; background: rgba(29, 185, 84, 0.1); }
.icon-linkedin:hover { color: #0A66C2; background: rgba(10, 102, 194, 0.1); }
.icon-telegram:hover { color: #0088cc; background: rgba(0, 136, 204, 0.1); }

@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-20px) translateX(5px);
    }
}

/* Adjust floating icons for mobile */
@media (max-width: 768px) {
    .floating-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    /* Adjust positions for mobile - some icons hidden to avoid clutter */
    .floating-icon:nth-child(4),
    .floating-icon:nth-child(6),
    .floating-icon:nth-child(8) {
        display: none;
    }
}


/* FAQ Accordion */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

/* Subtle Hover Effects */
a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

button:focus,
a:focus {
    outline: 2px solid #f6e628;
    outline-offset: 2px;
}

/* Card Hover */
.group:hover {
    transform: translateY(-2px);
}

/* Text Selection */
::selection {
    background: #f6e628;
    color: #fff;
}

::-moz-selection {
    background: #f6e628;
    color: #fff;
}

/* Smooth Transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Underline Effect for Links */
.underline-effect {
    position: relative;
}

.underline-effect::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.underline-effect:hover::after {
    width: 100%;
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Press Effect */
button:active {
    transform: scale(0.98);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Subtle Shadow on Scroll */
.shadow-on-scroll {
    transition: box-shadow 0.3s ease;
}

.shadow-on-scroll.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Image Lazy Load */
img[data-src] {
    filter: blur(5px);
    transition: filter 0.3s;
}

img:not([data-src]) {
    filter: blur(0);
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Disabled State */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Grid Gap Animation */
.grid > * {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.grid > *:nth-child(1) { animation-delay: 0.05s; }
.grid > *:nth-child(2) { animation-delay: 0.1s; }
.grid > *:nth-child(3) { animation-delay: 0.15s; }
.grid > *:nth-child(4) { animation-delay: 0.2s; }
.grid > *:nth-child(5) { animation-delay: 0.25s; }
.grid > *:nth-child(6) { animation-delay: 0.3s; }

/* Notification Style */
.notification {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Clean Border Radius */
.rounded-custom {
    border-radius: 12px;
}

/* Minimal Shadow */
.shadow-minimal {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.shadow-minimal-hover:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Divider Line */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
}

/* Text Gradient Minimal */
.text-gradient-minimal {
    background: linear-gradient(135deg, #000, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Clean Container */
.container-clean {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Minimal Badge */
.badge-minimal {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f3f4f6;
    color: #374151;
}

/* Hover Scale Minimal */
.hover-scale-minimal {
    transition: transform 0.2s ease;
}

.hover-scale-minimal:hover {
    transform: scale(1.02);
}

/* Clean Input Styles */
input,
textarea {
    font-family: inherit;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #000;
}

/* Minimal Checkbox */
input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

/* Print Styles */
@media print {
    nav,
    footer,
    button {
        display: none;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment if you want automatic dark mode support */
    /* body {
        background: #000;
        color: #fff;
    } */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    button {
        border: 2px solid currentColor;
    }
}
