/* Kayra Support - Modern Dark Theme CSS */
:root {
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent-gold: #FFD700;
    --accent-gold-hover: #DAA520;
    --backdrop-blur: blur(20px);
}

/* Custom Properties - Dark Theme (Default) */
:root {
    --gradient-primary: linear-gradient(135deg, #FFD700, #DAA520);
    --gradient-secondary: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-success: linear-gradient(135deg, #11998e, #38ef7d);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #000000);
    --gradient-pink: linear-gradient(135deg, #f093fb, #f5576c);
    
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

/* Light Theme Variables */
[data-theme="light"] {
    --gradient-primary: linear-gradient(135deg, #FFD700, #DAA520);
    --gradient-secondary: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-success: linear-gradient(135deg, #11998e, #38ef7d);
    --gradient-dark: linear-gradient(135deg, #f8fafc, #e2e8f0);
    --gradient-pink: linear-gradient(135deg, #f093fb, #f5576c);
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
}

/* Theme Transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Light Theme Specific Styles - Enhanced Cross-Browser Compatibility */
body[data-theme="light"] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Force light theme with maximum specificity for all browsers */
html body[data-theme="light"] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Override any inherited colors */
body[data-theme="light"] * {
    color: inherit !important;
}

/* Specific overrides for common elements */
html body[data-theme="light"] * {
    color: #1f2937 !important;
}

/* Exception for gradient text elements */
html body[data-theme="light"] .bg-gradient-to-r,
html body[data-theme="light"] .text-yellow-400,
html body[data-theme="light"] .text-yellow-500,
html body[data-theme="light"] .text-green-400,
html body[data-theme="light"] .text-green-500,
html body[data-theme="light"] .text-red-400,
html body[data-theme="light"] .text-red-500,
html body[data-theme="light"] .text-blue-400,
html body[data-theme="light"] .text-blue-500 {
    color: inherit !important;
}

body[data-theme="light"] .glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

/* Text Colors - More Specific Selectors */
body[data-theme="light"] .text-white,
body[data-theme="light"] h1,
body[data-theme="light"] h2,
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] h5,
body[data-theme="light"] h6,
body[data-theme="light"] p,
body[data-theme="light"] span,
body[data-theme="light"] div {
    color: #1f2937 !important;
}

body[data-theme="light"] .text-gray-300 {
    color: #4b5563 !important;
}

body[data-theme="light"] .text-gray-400 {
    color: #6b7280 !important;
}

body[data-theme="light"] .text-gray-500 {
    color: #9ca3af !important;
}

/* Input and Form Elements */
body[data-theme="light"] input,
body[data-theme="light"] textarea,
body[data-theme="light"] select {
    background-color: rgba(0, 0, 0, 0.05) !important;
    color: #1f2937 !important;
    border: 1px solid rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
}

body[data-theme="light"] input:focus,
body[data-theme="light"] textarea:focus,
body[data-theme="light"] select:focus {
    border-color: #d97706 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1) !important;
}

body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder {
    color: #6b7280 !important;
}

/* Background Elements */
body[data-theme="light"] .bg-white\/5 {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

body[data-theme="light"] .bg-white\/10 {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* Border Elements */
body[data-theme="light"] .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body[data-theme="light"] .border-white\/20 {
    border-color: rgba(0, 0, 0, 0.3) !important;
}

/* Specific border fixes for light theme */
body[data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
}

body[data-theme="light"] footer {
    background: rgba(255, 255, 255, 0.9) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* Navigation */
body[data-theme="light"] nav .text-white {
    color: #1f2937 !important;
}

/* Footer */
body[data-theme="light"] footer .text-gray-300 {
    color: #4b5563 !important;
}

/* Category Cards */
body[data-theme="light"] .category-card {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #1f2937 !important;
}

body[data-theme="light"] .category-card:hover {
    border-color: rgba(255, 215, 0, 0.7) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

body[data-theme="light"] .category-card h3,
body[data-theme="light"] .category-card p,
body[data-theme="light"] .category-card span {
    color: #1f2937 !important;
}

body[data-theme="light"] .category-card .text-gray-400 {
    color: #6b7280 !important;
}

body[data-theme="light"] .category-card .text-gray-500 {
    color: #9ca3af !important;
}

/* Content Cards */
body[data-theme="light"] .glass-effect h3,
body[data-theme="light"] .glass-effect p,
body[data-theme="light"] .glass-effect span,
body[data-theme="light"] .glass-effect div {
    color: #1f2937 !important;
}

body[data-theme="light"] .glass-effect .text-gray-300 {
    color: #4b5563 !important;
}

body[data-theme="light"] .glass-effect .text-gray-400 {
    color: #6b7280 !important;
}

/* Theme Toggle Button Styles */
#themeToggle {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#themeToggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

#themeToggle:active {
    transform: translateY(0) scale(0.95);
}

#themeIcon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Breadcrumb */
body[data-theme="light"] .text-yellow-400 {
    color: #d97706 !important; /* Darker yellow for better contrast in light theme */
}

/* Links */
body[data-theme="light"] a:not(.bg-gradient-to-r) {
    color: #1f2937 !important;
}

body[data-theme="light"] a.text-yellow-400 {
    color: #d97706 !important;
}

/* Force override for stubborn elements */
body[data-theme="light"] * {
    --tw-text-opacity: 1 !important;
}

body[data-theme="light"] .text-white {
    --tw-text-opacity: 1 !important;
    color: rgb(31 41 55 / var(--tw-text-opacity)) !important;
}

body[data-theme="light"] .text-gray-300 {
    --tw-text-opacity: 1 !important;
    color: rgb(75 85 99 / var(--tw-text-opacity)) !important;
}

body[data-theme="light"] .text-gray-400 {
    --tw-text-opacity: 1 !important;
    color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
}

/* Ensure background colors work properly */
body[data-theme="light"] {
    --tw-bg-opacity: 1 !important;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
}

/* Additional specificity for problematic browsers */
html body[data-theme="light"] {
    background: #ffffff !important;
    color: #1f2937 !important;
}

html body[data-theme="light"] .text-white {
    color: #1f2937 !important;
}

html body[data-theme="light"] .text-gray-300 {
    color: #4b5563 !important;
}

html body[data-theme="light"] .text-gray-400 {
    color: #6b7280 !important;
}

/* Login/Logout buttons border fix for light theme */
body[data-theme="light"] .login-btn,
body[data-theme="light"] .register-btn,
body[data-theme="light"] a[href*="logout.php"],
body[data-theme="light"] a[href*="login.php"],
body[data-theme="light"] a[href*="register.php"] {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body[data-theme="light"] .login-btn:hover,
body[data-theme="light"] .register-btn:hover,
body[data-theme="light"] a[href*="logout.php"]:hover,
body[data-theme="light"] a[href*="login.php"]:hover,
body[data-theme="light"] a[href*="register.php"]:hover {
    border-color: rgba(0, 0, 0, 0.3) !important;
}

/* Force all border classes to be visible in light theme */
body[data-theme="light"] .border,
body[data-theme="light"] .border-t,
body[data-theme="light"] .border-b,
body[data-theme="light"] .border-l,
body[data-theme="light"] .border-r {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body[data-theme="light"] .border-white,
body[data-theme="light"] .border-white\/10,
body[data-theme="light"] .border-white\/20,
body[data-theme="light"] .border-white\/30 {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Ensure all glass effects have visible borders */
body[data-theme="light"] *[class*="glass-effect"],
body[data-theme="light"] *[class*="backdrop-blur"] {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

/* Make sure rounded borders are visible */
body[data-theme="light"] .rounded,
body[data-theme="light"] .rounded-xl,
body[data-theme="light"] .rounded-2xl,
body[data-theme="light"] .rounded-3xl {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* Base Styles - Siyah Arkaplan */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-primary) !important;
    color: var(--text-primary);
    min-height: 100vh;
}

/* Dark Body Background */
body {
    background: var(--bg-primary) !important;
    background-image: none !important;
    background-attachment: fixed;
}

/* Remove old floating particles - replace with clean dark background */
.floating-particles {
    display: none;
}

/* Dark Glass Effect */
.glass-effect {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* 3D Folder Styles - Improved */
.folder-3d {
    width: 80px;
    height: 60px;
    perspective: 200px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.folder-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-10deg);
    transition: transform 0.3s ease;
}

.folder-back {
    width: 100%;
    height: 70%;
    background: var(--gradient-primary);
    backdrop-filter: blur(20px);
    border-radius: 8px 8px 4px 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    position: absolute;
    bottom: 0;
}

.folder-tab {
    width: 35%;
    height: 22%;
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(218, 165, 32, 0.9));
    backdrop-filter: blur(15px);
    border-radius: 4px 4px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -12%;
    left: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.folder-front {
    width: 100%;
    height: 65%;
    background: var(--gradient-primary);
    backdrop-filter: blur(25px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    bottom: 0;
    transform: translateZ(12px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.7),
        inset 0 3px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-icon {
    font-size: 28px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Brand-specific folder colors - Enhanced */
.xiaomi-folder .folder-back,
.xiaomi-folder .folder-front,
.xiaomi-folder .folder-tab {
    background: linear-gradient(135deg, #FFD700, #DAA520);
}

.samsung-folder .folder-back,
.samsung-folder .folder-front,
.samsung-folder .folder-tab {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.infinix-folder .folder-back,
.infinix-folder .folder-front,
.infinix-folder .folder-tab {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.apple-folder .folder-back,
.apple-folder .folder-front,
.apple-folder .folder-tab {
    background: linear-gradient(135deg, #555555, #333333);
}

.oppo-folder .folder-back,
.oppo-folder .folder-front,
.oppo-folder .folder-tab {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.huawei-folder .folder-back,
.huawei-folder .folder-front,
.huawei-folder .folder-tab {
    background: linear-gradient(135deg, #e53e3e, #c53030);
}

.vivo-folder .folder-back,
.vivo-folder .folder-front,
.vivo-folder .folder-tab {
    background: linear-gradient(135deg, #805ad5, #553c9a);
}

.realme-folder .folder-back,
.realme-folder .folder-front,
.realme-folder .folder-tab {
    background: linear-gradient(135deg, #ecc94b, #d69e2e);
}

.default-folder .folder-back,
.default-folder .folder-front,
.default-folder .folder-tab {
    background: linear-gradient(135deg, #718096, #4a5568);
}

/* Enhanced Folder Hover Effects */
.folder-3d:hover {
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.folder-3d:hover .folder-container {
    -webkit-transform: rotateX(20deg) rotateY(-20deg);
    -moz-transform: rotateX(20deg) rotateY(-20deg);
    -ms-transform: rotateX(20deg) rotateY(-20deg);
    transform: rotateX(20deg) rotateY(-20deg);
}

.folder-3d:hover .folder-front {
    box-shadow: 
        0 20px 40px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(218, 165, 32, 0.3),
        inset 0 3px 0 rgba(255, 255, 255, 0.5);
}

/* Dark Theme Components */
.category-card {
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3), 
                0 0 30px rgba(255, 215, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
}

/* Search and Form Elements */
.search-container {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.search-container input {
    background: transparent !important;
    color: var(--text-primary) !important;
    border: none;
    outline: none;
}

.search-container input::placeholder {
    color: var(--text-muted);
}

/* Button Styles - Cross Browser Compatible */
.cta-button,
.download-btn,
.login-btn,
.register-btn {
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover,
.download-btn:hover {
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* File Item Styles */
.file-item {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: rgba(255, 215, 0, 0.5);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Animation Keyframes - Full Cross-Browser Compatible */
@-webkit-keyframes fadeIn {
    from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
    to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@-moz-keyframes fadeIn {
    from { opacity: 0; -moz-transform: translateY(30px); transform: translateY(30px); }
    to { opacity: 1; -moz-transform: translateY(0); transform: translateY(0); }
}
@-ms-keyframes fadeIn {
    from { opacity: 0; -ms-transform: translateY(30px); transform: translateY(30px); }
    to { opacity: 1; -ms-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; -webkit-transform: translateY(30px); -moz-transform: translateY(30px); -ms-transform: translateY(30px); transform: translateY(30px); }
    to { opacity: 1; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}

@-webkit-keyframes slideIn {
    from { opacity: 0; -webkit-transform: translateX(-50px); transform: translateX(-50px); }
    to { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}
@-moz-keyframes slideIn {
    from { opacity: 0; -moz-transform: translateX(-50px); transform: translateX(-50px); }
    to { opacity: 1; -moz-transform: translateX(0); transform: translateX(0); }
}
@-ms-keyframes slideIn {
    from { opacity: 0; -ms-transform: translateX(-50px); transform: translateX(-50px); }
    to { opacity: 1; -ms-transform: translateX(0); transform: translateX(0); }
}
@keyframes slideIn {
    from { opacity: 0; -webkit-transform: translateX(-50px); -moz-transform: translateX(-50px); -ms-transform: translateX(-50px); transform: translateX(-50px); }
    to { opacity: 1; -webkit-transform: translateX(0); -moz-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }
}

@-webkit-keyframes zoomIn {
    from { opacity: 0; -webkit-transform: scale(0.8); transform: scale(0.8); }
    to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}
@-moz-keyframes zoomIn {
    from { opacity: 0; -moz-transform: scale(0.8); transform: scale(0.8); }
    to { opacity: 1; -moz-transform: scale(1); transform: scale(1); }
}
@-ms-keyframes zoomIn {
    from { opacity: 0; -ms-transform: scale(0.8); transform: scale(0.8); }
    to { opacity: 1; -ms-transform: scale(1); transform: scale(1); }
}
@keyframes zoomIn {
    from { opacity: 0; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); transform: scale(0.8); }
    to { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1); }
}

/* Animation Classes - Full Cross-Browser Compatible */
.animate-fade-in {
    -webkit-animation: fadeIn 0.8s ease-out;
    -moz-animation: fadeIn 0.8s ease-out;
    -ms-animation: fadeIn 0.8s ease-out;
    animation: fadeIn 0.8s ease-out;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animate-slide-in {
    -webkit-animation: slideIn 0.6s ease-out;
    -moz-animation: slideIn 0.6s ease-out;
    -ms-animation: slideIn 0.6s ease-out;
    animation: slideIn 0.6s ease-out;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animate-zoom-in {
    -webkit-animation: zoomIn 0.5s ease-out;
    -moz-animation: zoomIn 0.5s ease-out;
    -ms-animation: zoomIn 0.5s ease-out;
    animation: zoomIn 0.5s ease-out;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* Global Scrollbar Styling - Exact Admin Panel Match */
::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700, #DAA520) !important;
    border-radius: 4px !important;
    border: none !important;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #DAA520, #FFD700) !important;
}

::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.05) !important;
}

::-webkit-scrollbar-button {
    display: none !important;
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin !important;
    scrollbar-color: #FFD700 rgba(255, 255, 255, 0.05) !important;
}

/* Light Theme Scrollbar */
[data-theme="light"] ::-webkit-scrollbar {
    width: 8px !important;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700, #DAA520) !important;
    border-radius: 4px !important;
    border: none !important;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #DAA520, #FFD700) !important;
}

[data-theme="light"] ::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="light"] ::-webkit-scrollbar-button {
    display: none !important;
}

/* Firefox Light Theme */
[data-theme="light"] html {
    scrollbar-color: #FFD700 rgba(255, 255, 255, 0.05) !important;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(255, 215, 0, 0.5);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .folder-3d {
        width: 60px;
        height: 45px;
    }
    
    .folder-icon {
        font-size: 20px;
    }
    
    .category-card {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .glass-effect {
        padding: 1rem;
    }
    
    .folder-3d {
        width: 50px;
        height: 38px;
    }
}

/* Print Styles */
@media print {
    .glass-effect {
        background: white !important;
        color: black !important;
    }
    
    .folder-3d {
        display: none;
    }
}

/* Modern Search Bar */
.modern-search-container {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modern-search-container::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.3), 
        rgba(218, 165, 32, 0.3), 
        rgba(255, 215, 0, 0.3)
    );
    border-radius: 25px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-search-container:hover::before,
.modern-search-container:focus-within::before {
    opacity: 1;
}

.modern-search-container:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.modern-search-container:focus-within {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-left: 8px;
}

.search-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: all 0.3s ease;
}

.modern-search-container:focus-within .search-icon {
    color: #FFD700;
    transform: scale(1.1);
}

.modern-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    padding: 16px 20px;
}

.modern-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.modern-search-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 10;
    outline: none;
    user-select: none;
}

.search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.search-button:hover::before {
    left: 100%;
}

.search-button:hover {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(218, 165, 32, 0.3);
    transform: scale(1.05);
}

.search-button:active {
    transform: scale(0.95);
}

.search-button i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.search-button:hover i {
    transform: translateX(2px);
}

.search-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.search-button:disabled:hover {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    transform: none !important;
    box-shadow: none;
}

.search-button:focus {
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(218, 165, 32, 0.3),
        0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Category Icon Styles */
.category-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.category-icon-wrapper:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.category-icon {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    -webkit-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    -moz-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    -ms-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.category-icon:hover {
    filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.4));
    -webkit-filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.4));
    -moz-filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.4));
    -ms-filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.4));
}

/* Theme Transition Effects */
.theme-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.magic-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 25%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 215, 0, 0.3) 75%, 
        transparent 100%);
    -webkit-animation: magicWave 1.5s ease-in-out;
    -moz-animation: magicWave 1.5s ease-in-out;
    -ms-animation: magicWave 1.5s ease-in-out;
    animation: magicWave 1.5s ease-in-out;
}

.magic-wave.dark-to-light {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
}

.magic-wave.light-to-dark {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.8) 50%, 
        transparent 100%);
}

@-webkit-keyframes magicWave {
    0% {
        left: -100%;
        -webkit-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
    100% {
        left: 100%;
        -webkit-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
}
@-moz-keyframes magicWave {
    0% {
        left: -100%;
        -moz-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
    100% {
        left: 100%;
        -moz-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
}
@-ms-keyframes magicWave {
    0% {
        left: -100%;
        -ms-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
    100% {
        left: 100%;
        -ms-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
}
@keyframes magicWave {
    0% {
        left: -100%;
        -webkit-transform: skewX(-15deg);
        -moz-transform: skewX(-15deg);
        -ms-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
    100% {
        left: 100%;
        -webkit-transform: skewX(-15deg);
        -moz-transform: skewX(-15deg);
        -ms-transform: skewX(-15deg);
        transform: skewX(-15deg);
    }
}

.particle {
    position: absolute;
    pointer-events: none;
    font-size: 12px;
    color: #ffd700;
    -webkit-animation: particleFloat 2s ease-out forwards;
    -moz-animation: particleFloat 2s ease-out forwards;
    -ms-animation: particleFloat 2s ease-out forwards;
    animation: particleFloat 2s ease-out forwards;
}

.particle.star::before {
    content: '✨';
}

.particle.sparkle::before {
    content: '⭐';
}

.particle.magic::before {
    content: '🌟';
}

@-webkit-keyframes particleFloat {
    0% {
        opacity: 0;
        -webkit-transform: translateY(0) scale(0) rotate(0deg);
        transform: translateY(0) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        -webkit-transform: translateY(-20px) scale(1) rotate(180deg);
        transform: translateY(-20px) scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-100px) scale(0.5) rotate(360deg);
        transform: translateY(-100px) scale(0.5) rotate(360deg);
    }
}
@-moz-keyframes particleFloat {
    0% {
        opacity: 0;
        -moz-transform: translateY(0) scale(0) rotate(0deg);
        transform: translateY(0) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        -moz-transform: translateY(-20px) scale(1) rotate(180deg);
        transform: translateY(-20px) scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        -moz-transform: translateY(-100px) scale(0.5) rotate(360deg);
        transform: translateY(-100px) scale(0.5) rotate(360deg);
    }
}
@-ms-keyframes particleFloat {
    0% {
        opacity: 0;
        -ms-transform: translateY(0) scale(0) rotate(0deg);
        transform: translateY(0) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        -ms-transform: translateY(-20px) scale(1) rotate(180deg);
        transform: translateY(-20px) scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        -ms-transform: translateY(-100px) scale(0.5) rotate(360deg);
        transform: translateY(-100px) scale(0.5) rotate(360deg);
    }
}
@keyframes particleFloat {
    0% {
        opacity: 0;
        -webkit-transform: translateY(0) scale(0) rotate(0deg);
        -moz-transform: translateY(0) scale(0) rotate(0deg);
        -ms-transform: translateY(0) scale(0) rotate(0deg);
        transform: translateY(0) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        -webkit-transform: translateY(-20px) scale(1) rotate(180deg);
        -moz-transform: translateY(-20px) scale(1) rotate(180deg);
        -ms-transform: translateY(-20px) scale(1) rotate(180deg);
        transform: translateY(-20px) scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-100px) scale(0.5) rotate(360deg);
        -moz-transform: translateY(-100px) scale(0.5) rotate(360deg);
        -ms-transform: translateY(-100px) scale(0.5) rotate(360deg);
        transform: translateY(-100px) scale(0.5) rotate(360deg);
    }
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 215, 0, 0.6) 0%, 
        rgba(255, 255, 255, 0.4) 30%, 
        transparent 70%);
    -webkit-animation: ripple 1s ease-out;
    -moz-animation: ripple 1s ease-out;
    -ms-animation: ripple 1s ease-out;
    animation: ripple 1s ease-out;
    pointer-events: none;
}

@-webkit-keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}
@-moz-keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}
@-ms-keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}
@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Enhanced theme toggle button */
.theme-toggle-enhanced {
    position: relative;
    overflow: visible !important;
}

.theme-toggle-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.theme-toggle-enhanced:hover::before {
    width: 60px;
    height: 60px;
}

.theme-toggle-enhanced.active::before {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.5) 0%, transparent 70%);
}

/* Enhanced Border Styles for Dark Theme - 20% More Visible */
:root {
    --enhanced-border-light: rgba(255, 255, 255, 0.3);
    --enhanced-border-medium: rgba(255, 255, 255, 0.4);
    --enhanced-border-strong: rgba(255, 255, 255, 0.5);
}

/* Dark Theme Enhanced Borders */
.glass-effect {
    border: 1px solid var(--enhanced-border-medium) !important;
}

.border-white\/10 {
    border-color: var(--enhanced-border-light) !important;
}

.border-white\/20 {
    border-color: var(--enhanced-border-medium) !important;
}

/* Login Button Border Fix */
.login-btn {
    border: 1px solid var(--enhanced-border-medium) !important;
}

.login-btn:hover {
    border-color: var(--enhanced-border-strong) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1) !important;
}

/* Register Button Enhanced */
.register-btn {
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.register-btn:hover {
    border-color: rgba(255, 215, 0, 0.5) !important;
}

/* Theme Toggle Button Enhanced */
#themeToggle {
    border: 1px solid var(--enhanced-border-medium) !important;
}

#themeToggle:hover {
    border-color: var(--enhanced-border-strong) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1) !important;
}

/* Navigation Enhanced Borders */
nav .glass-effect {
    border-bottom: 1px solid var(--enhanced-border-medium) !important;
}

/* Footer Enhanced Borders - only top border */
footer .glass-effect,
footer .border-t.border-white\/10 {
    border: none !important;
    border-top: 1px solid var(--enhanced-border-medium) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

/* Category Cards Enhanced */
.category-card {
    position: relative;
    overflow: hidden;
}

/* Removed shimmer effect - replaced with glow */

/* Responsive Improvements */
@media (max-width: 768px) {
    .recent-content-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
}

    .recent-content-section .flex.items-center.justify-between {
        flex-direction: column;
        align-items: center;
        gap: 15px;
}

    .content-card {
        padding: 1rem;
    }
}

/* Loading States */
.content-loading {
    opacity: 0.5;
    pointer-events: none;
}

.content-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Enhanced Glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Light Theme Adjustments */
[data-theme="light"] .glass-effect {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .glass-effect:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Membership Glow Effects */
.membership-vip {
    border: 1px solid rgba(255, 215, 0, 0.5) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 
                0 0 40px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 215, 0, 0.1) !important;
}

.membership-premium {
    border: 1px solid rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), 
                0 0 40px rgba(59, 130, 246, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.membership-free {
    border: 1px solid rgba(156, 163, 175, 0.3) !important;
    background: rgba(156, 163, 175, 0.05) !important;
}

/* Membership badge styles */
.membership-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.membership-badge:hover {
    transform: scale(1.05);
}

/* VIP Badge */
.membership-badge.vip {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Premium Badge */
.membership-badge.premium {
    color: #60A5FA;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

/* Free Badge */
.membership-badge.free {
    color: #9CA3AF;
    background: rgba(156, 163, 175, 0.1);
    border: 1px solid rgba(156, 163, 175, 0.3);
}

/* ===============================
   Kayan Yazı (Marquee) Styles
   =============================== */

/* Scrolling text container */
#marqueeContainer {
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    /* No top-bottom borders, only left-right borders */
}

/* Scrolling text element */
.marquee-text {
    white-space: nowrap;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    will-change: transform;
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* Center text perfectly in container */
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    /* Initially hidden - animation starts with JavaScript */
    opacity: 0;
}

/* When animation is active */
.marquee-text.active {
    /* Animation only for opacity - to not override JavaScript animation */
    opacity: 1;
}

/* Marquee GIF stili */
.marquee-gif {
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    margin-right: 0.25rem;
    /* height removed - will come from inline style */
}

/* Continuous loop scrolling animation - like circle */
@keyframes marqueeMove {
    0% {
        transform: translateY(-50%) translateX(100%);
    }
    100% {
        transform: translateY(-50%) translateX(-100%);
    }
}

/* Gradyan animasyonu */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    #marqueeContainer {
        margin: 0 1rem;
        height: 50px;
    }
    
    .marquee-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #marqueeContainer {
        display: none; /* Mobilde gizle */
    }
}

/* Gradient mode styles - Main class definition */
.marquee-text.gradient-mode,
#marquee-preview.gradient-mode {
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
}

/* Light theme compatibility - will not be applied in gradient mode */
[data-theme="light"] .marquee-text:not(.gradient-mode),
[data-theme="light"] #marquee-preview:not(.gradient-mode) {
    text-shadow: 0 0 8px currentColor !important;
}

/* Gradyan modunda light theme text-shadow'u override et */
[data-theme="light"] .marquee-text.gradient-mode,
[data-theme="light"] #marquee-preview.gradient-mode {
    text-shadow: none !important;
}

/* ===============================
   Contact Widget Styles
   =============================== */

/* Main contact widget container */
.contact-widget {
    position: fixed;
    bottom: calc(80px + 2rem); /* Above footer + 2rem up */
    right: 20px;
    z-index: 100;
    font-family: inherit;
}

/* Main contact button */
.contact-main-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.contact-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.contact-main-btn:hover::before {
    opacity: 0.2;
}

.contact-main-btn:active {
    transform: scale(0.95);
}

.contact-main-btn img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: none; /* PNG'nin orijinal renklerini kullan */
    transition: transform 0.3s ease;
}

.contact-main-btn:hover img {
    transform: scale(1.05); /* Slight growth instead of rotation */
}

/* Social media buttons container */
.contact-social-buttons {
    position: absolute;
    bottom: 60px; /* Above main button */
    right: 0;
    display: flex;
    flex-direction: column-reverse; /* Bottom to top ordering */
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-widget.active .contact-social-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Social media buttons */
.contact-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Background removed */
    backdrop-filter: none; /* Blur removed */
    border: none; /* Border removed */
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: visible; /* For full visibility of PNGs */
    opacity: 0;
    transform: translateY(10px) scale(0.8) rotate(0deg);
}

.contact-widget.active .contact-social-btn {
    opacity: 1;
    transform: translateY(0) scale(1.3) rotate(360deg); /* 30% bigger */
}

/* Stagger animasyon gecikmeleri */
.contact-widget.active .contact-social-btn:nth-child(1) { transition-delay: 0.1s; }
.contact-widget.active .contact-social-btn:nth-child(2) { transition-delay: 0.15s; }
.contact-widget.active .contact-social-btn:nth-child(3) { transition-delay: 0.2s; }
.contact-widget.active .contact-social-btn:nth-child(4) { transition-delay: 0.25s; }
.contact-widget.active .contact-social-btn:nth-child(5) { transition-delay: 0.3s; }

.contact-social-btn:hover {
    transform: scale(1.15);
    /* Background hover effects removed */
}

.contact-social-btn:active {
    transform: scale(0.95);
}

.contact-social-btn img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.contact-social-btn:hover img {
    transform: scale(1.1);
}

/* Custom social media hover effects removed - PNGs will use their own colors */

/* Mobil responsive */
@media (max-width: 768px) {
    .contact-widget {
        bottom: calc(70px + 2rem);
        right: 15px;
    }
    
    .contact-main-btn {
        width: 45px;
        height: 45px;
    }
    
    .contact-main-btn img {
        width: 40px;
        height: 40px;
    }
    
    .contact-social-btn {
        width: 45px;
        height: 45px;
    }
    
    .contact-social-btn img {
        width: 36px;
        height: 36px;
    }
    
    .contact-social-buttons {
        bottom: 55px;
    }
}

/* For small screens */
@media (max-width: 480px) {
    .contact-widget {
        bottom: calc(65px + 2rem);
        right: 10px;
    }
    
    .contact-main-btn {
        width: 40px;
        height: 40px;
    }
    
    .contact-main-btn img {
        width: 36px;
        height: 36px;
    }
    
    .contact-social-btn {
        width: 40px;
        height: 40px;
    }
    
    .contact-social-btn img {
        width: 32px;
        height: 32px;
    }
    
    .contact-social-buttons {
        bottom: 50px;
        gap: 6px;
    }
}

/* Pulse animation for main button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    }
}

.contact-main-btn {
    animation: pulse 2s infinite;
}

/* Light theme adaptation - not needed because no background */ 