.logo.white,
.logo.dark {
display: none;
}

html[data-theme=dark] .logo.white {
    display: flex;
}

html[data-theme=dark] .logo.dark {
    display: none;
}

body[data-theme=light] .logo.white {
    display: none;
}

html[data-theme=light] .logo.dark {
    display: flex;
}

/* Logo area and campaign notification styles */
.logo-area {
display: flex;
align-items: center;
gap: 12px;
}

.campaign-notification {
position: relative;
cursor: pointer;
transition: all 0.3s ease;
}

.campaign-notification .icon-area {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: rgba(255, 107, 107, 0.1);
border: 2px solid rgba(255, 107, 107, 0.3);
border-radius: 50%;
color: #ff6b6b;
font-size: 16px;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
overflow: hidden;
}

.campaign-notification .icon-area::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #ff6b6b, #ee5a24);
border-radius: 50%;
opacity: 0;
transform: scale(0);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
z-index: 1;
}

.campaign-notification .icon-area i {
position: relative;
z-index: 2;
transition: all 0.4s ease;
}

.campaign-notification:hover .icon-area {
transform: scale(1.1) rotate(15deg);
border-color: rgba(255, 107, 107, 0.6);
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.campaign-notification:hover .icon-area::before {
opacity: 1;
transform: scale(1);
}

.campaign-notification:hover .icon-area i {
color: white;
transform: scale(1.1);
}

.campaign-notification .icon-area {
animation: gentlePulse 3s ease-in-out infinite;
}

/* Tooltip styles */
.campaign-notification::before {
content: attr(data-tooltip);
position: absolute;
bottom: -45px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.9);
color: white;
padding: 8px 12px;
border-radius: 6px;
font-size: 12px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.campaign-notification::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid rgba(0, 0, 0, 0.9);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1000;
}

.campaign-notification:hover::before,
.campaign-notification:hover::after {
opacity: 1;
visibility: visible;
}

/* Gentle pulse animation */
@keyframes gentlePulse {
0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    transform: scale(1);
}
50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    transform: scale(1.05);
}
100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    transform: scale(1);
}
}

/* Dark theme adjustments */
[data-theme="dark"] .campaign-notification .icon-area {
background: rgba(255, 107, 107, 0.15);
border-color: rgba(255, 107, 107, 0.4);
}

[data-theme="dark"] .campaign-notification:hover .icon-area {
border-color: rgba(255, 107, 107, 0.7);
}

[data-theme="dark"] .campaign-notification::before {
background: rgba(255, 255, 255, 0.95);
color: #333;
}

[data-theme="dark"] .campaign-notification::after {
border-bottom-color: rgba(255, 255, 255, 0.95);
}

/* User display styles */
.user-display {
display: flex;
align-items: center;
padding: 8px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(0, 0, 0, 0.05);
color: var(--text-color);
text-decoration: none;
transition: all 0.3s ease;
cursor: pointer;
margin-right: 8px;
height: 44px;
box-sizing: border-box;
position: relative;
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .user-display {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Balance area styles */
.balance-area {
display: flex;
align-items: center;
padding: 8px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(0, 0, 0, 0.05);
color: var(--text-color);
text-decoration: none;
transition: all 0.3s ease;
cursor: pointer;
margin-right: 8px;
height: 44px;
box-sizing: border-box;
position: relative;
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .balance-area {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.balance-area:hover {
background: rgba(13, 110, 253, 0.1);
border-color: #0d6efd;
transform: translateY(-2px);
color: #0d6efd;
text-decoration: none;
box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

.user-display:hover {
background: rgba(13, 110, 253, 0.1);
border-color: #0d6efd;
transform: translateY(-2px);
color: #0d6efd;
text-decoration: none;
box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

.user-info {
display: flex;
flex-direction: column;
align-items: flex-start;
line-height: 1.2;
}

.user-info .username {
font-size: 14px;
font-weight: 500;
color: var(--text-color);
}

.user-display:hover .user-info .username {
color: #0d6efd;
}

.user-info .balance {
font-size: 12px;
color: #22c55e;
margin-top: 1px;
font-weight: 500;
text-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
animation: balanceGlow 2s ease-in-out infinite alternate;
}

.user-display:hover .user-info .balance {
color: #22c55e;
}

/* Balance dropdown styles */
.balance-container {
display: inline-block;
position: relative;
z-index: 10;
}

.balance-trigger {
cursor: pointer;
position: relative;
display: flex;
align-items: center;
gap: 6px;
padding: 2px 6px;
border-radius: 6px;
transition: all 0.3s ease;
}

.balance-trigger:hover {
background: rgba(108, 117, 125, 0.1);
}

.balance-text {
font-size: 14px;
color: var(--text-color);
margin-top: 1px;
font-weight: 500;
}

.balance-arrow {
color: var(--text-color);
font-size: 16px;
transition: transform 0.3s ease;
margin-left: auto;
}

.balance-container:hover .balance-arrow,
.balance-container.dropdown-active .balance-arrow {
transform: rotate(180deg);
}

.balance-dropdown {
position: absolute;
top: 100%;
left: -150px;
width: 320px;
background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 20px;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: 9999;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Light theme specific styles */
[data-theme="light"] .balance-dropdown {
background: #ffffff;
border: 1px solid #e5e7eb;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Dark theme specific styles */
[data-theme="dark"] .balance-dropdown {
background: #1a1a1a;
border: 1px solid #333;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.balance-container:hover .balance-dropdown,
.balance-trigger:active + .balance-dropdown,
.balance-dropdown.active {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.balance-dropdown-header {
display: block;
text-align: center;
margin-bottom: 16px;
text-decoration: none;
color: inherit;
padding: 8px 8px 16px 8px;
border-radius: 8px;
transition: all 0.3s ease;
cursor: pointer;
border-bottom: 1px solid var(--border-color);
position: relative;
}

[data-theme="light"] .balance-dropdown-header {
border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .balance-dropdown-header {
border-bottom: 1px solid rgba(51, 51, 51, 0.6);
}

.balance-dropdown-header:hover {
background: rgba(108, 117, 125, 0.05);
text-decoration: none;
color: inherit;
transform: translateY(-1px);
}

.balance-dropdown-header h6 {
color: #888;
font-size: 14px;
font-weight: 500;
margin: 0;
transition: color 0.3s ease;
}

[data-theme="light"] .balance-dropdown-header h6 {
color: #6b7280;
}

[data-theme="dark"] .balance-dropdown-header h6 {
color: #888;
}

.balance-dropdown-header:hover h6 {
color: var(--text-color);
}

.current-balance {
font-size: 28px;
font-weight: 600;
color: var(--text-color);
margin-top: 6px;
}

.balance-load-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 12px 12px 16px 12px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(0, 0, 0, 0.05);
color: var(--text-color);
text-decoration: none;
border-radius: 12px;
font-weight: 500;
margin-bottom: 16px;
transition: all 0.3s ease;
border-bottom: 1px solid var(--border-color);
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .balance-load-btn {
border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .balance-load-btn {
border-bottom: 1px solid rgba(51, 51, 51, 0.6);
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.balance-load-btn:hover {
background: rgba(13, 110, 253, 0.1);
border-color: #0d6efd;
transform: translateY(-2px);
color: #0d6efd;
text-decoration: none;
box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

/* Dropdown açıldığında bakiye yükle butonu mavi olsun */
.balance-container:hover .balance-load-btn,
.balance-container.dropdown-active .balance-load-btn {
background: rgba(13, 110, 253, 0.1);
border-color: #0d6efd;
color: #0d6efd;
box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

[data-theme="dark"] .balance-container:hover .balance-load-btn,
[data-theme="dark"] .balance-container.dropdown-active .balance-load-btn {
background: rgba(13, 110, 253, 0.15);
border-color: #0d6efd;
color: #0d6efd;
box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.balance-transactions {
border-top: 1px solid var(--border-color);
padding-top: 16px;
}

[data-theme="light"] .balance-transactions {
border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .balance-transactions {
border-top: 1px solid rgba(51, 51, 51, 0.6);
}

.transaction-header {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
color: #888;
margin-bottom: 12px;
font-weight: 500;
}

[data-theme="light"] .transaction-header {
color: #6b7280;
}

[data-theme="dark"] .transaction-header {
color: #888;
}

.transaction-item {
display: flex;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid var(--border-color);
}

.transaction-item:last-child {
border-bottom: none;
}

[data-theme="light"] .transaction-item {
border-bottom: 1px solid #f3f4f6;
}

[data-theme="dark"] .transaction-item {
border-bottom: 1px solid #333;
}

.transaction-icon {
width: 32px;
height: 32px;
background: rgba(108, 117, 125, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 12px;
}

.transaction-icon i {
color: var(--text-color);
font-size: 14px;
}

.transaction-details {
flex: 1;
}

.transaction-title {
font-size: 13px;
color: var(--text-color);
font-weight: 500;
line-height: 1.2;
}

[data-theme="light"] .transaction-title {
color: #374151;
}

[data-theme="dark"] .transaction-title {
color: #fff;
}

.transaction-date {
font-size: 11px;
color: #888;
margin-top: 2px;
}

[data-theme="light"] .transaction-date {
color: #6b7280;
}

[data-theme="dark"] .transaction-date {
color: #888;
}

.transaction-amount {
font-size: 13px;
font-weight: 600;
color: var(--text-color);
}

/* No transactions styles */
.no-transactions {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 20px;
text-align: center;
}

.no-transactions-icon {
width: 48px;
height: 48px;
background: rgba(136, 136, 136, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 12px;
}

.no-transactions-icon i {
color: #888;
font-size: 20px;
}

.no-transactions-title {
font-size: 14px;
color: var(--text-color);
font-weight: 500;
margin-bottom: 4px;
}

[data-theme="light"] .no-transactions-title {
color: #374151;
}

[data-theme="dark"] .no-transactions-title {
color: #fff;
}

.no-transactions-desc {
font-size: 12px;
color: #888;
line-height: 1.4;
}

[data-theme="light"] .no-transactions-desc {
color: #6b7280;
}

[data-theme="dark"] .no-transactions-desc {
color: #888;
}



/* Profile menu button styles */
.user-dropdown-trigger {
position: relative;
background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 12px;
color: var(--text-color);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
cursor: pointer;
padding: 8px 12px;
text-decoration: none;
margin-right: 8px;
}

.user-dropdown-trigger:hover {
background: var(--hover-bg);
border-color: var(--primary-color);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
color: var(--text-color);
text-decoration: none;
}

.user-dropdown-trigger.active {
background: var(--hover-bg);
border-color: var(--primary-color);
}

.user-dropdown-trigger .user-info {
display: flex;
flex-direction: column;
margin-right: 8px;
}

.user-dropdown-trigger .username {
font-size: 14px;
font-weight: 500;
line-height: 1.2;
color: var(--text-color);
}

.dropdown-arrow {
font-size: 16px;
margin-left: 4px;
transition: all 0.3s ease;
color: var(--text-color);
}

.user-display:hover .dropdown-arrow {
color: #0d6efd;
}

.user-dropdown-trigger.active .dropdown-arrow {
transform: rotate(180deg);
}

/* Profile dropdown header styles */
.fp-dropdown-header {
position: relative;
margin: -12px -12px 16px -12px;
border-radius: 12px 12px 0 0;
overflow: hidden;
height: 80px;
}

.header-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://www.almancax.com/wp-content/uploads/2022/12/oyun-yapma-programlari.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.header-background::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.header-content {
position: relative;
z-index: 2;
display: flex;
align-items: center;
padding: 16px;
height: 100%;
gap: 12px;
}

.user-avatar {
flex-shrink: 0;
}

.user-avatar img {
width: 48px;
height: 48px;
border-radius: 50%;
border: 3px solid rgba(255, 255, 255, 0.3);
object-fit: cover;
}

.user-details {
flex: 1;
color: white;
}

.user-name {
font-size: 16px;
font-weight: 600;
margin-bottom: 4px;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.user-balance {
font-size: 14px;
font-weight: 500;
opacity: 0.9;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Profile dropdown container */
.fp-topnav-dropdown {
background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
min-width: 250px;
position: absolute;
top: 100%;
right: 0;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: 99999;
display: none;
}

.fp-topnav-dropdown.active {
opacity: 1 !important;
visibility: visible !important;
transform: translateY(0) !important;
display: block !important;
}

[data-theme="light"] .fp-topnav-dropdown {
background: #ffffff;
border: 1px solid #e5e7eb;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .fp-topnav-dropdown {
background: #1a1a1a;
border: 1px solid #333;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Modern Header Styles */
[data-theme="dark"] .fp-topnav {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding: 8px 0;
position: relative;
z-index: 1000;
}
[data-theme="light"] .fp-topnav {

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding: 8px 0;
position: relative;
z-index: 1000;
}

.welcome-badge {
display: flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
padding: 6px 12px;
border-radius: 20px;
border: 1px solid rgba(34, 197, 94, 0.2);
font-size: 13px;
font-weight: 500;
color: var(--text-color);
transition: all 0.3s ease;
}

.welcome-badge i {
color: #22c55e;
font-size: 14px;
}

.welcome-badge:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.topnav-link {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 10px;
color: var(--text-color);
text-decoration: none;
font-size: 13px;
font-weight: 500;
transition: all 0.3s ease;
opacity: 0.8;
}

.topnav-link:hover {
opacity: 1;
background: rgba(255, 255, 255, 0.1);
transform: translateY(-1px);
color: var(--text-color);
text-decoration: none;
}

[data-theme="dark"] .topnav-link:hover {
background: rgba(255, 255, 255, 0.05);
}

.topnav-link i {
font-size: 14px;
}

    /* Modern Header Main */
.fp-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    position: relative;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 0;
}

[data-theme="dark"] .fp-header {
background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.9));
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.fp-header .grid {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 24px;
align-items: center;
}

.logo-area {
display: flex;
align-items: center;
gap: 16px;
}

.logo {
transition: all 0.3s ease;
}

.logo:hover {
transform: scale(1.05);
}

.search {
max-width: 500px;
position: relative;
}

.search-box {
position: relative;
background: rgba(255, 255, 255, 0.8);
border: 2px solid rgba(0, 0, 0, 0.05);
border-radius: 16px;
padding: 0;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}

[data-theme="dark"] .search-box {
background: rgba(0, 0, 0, 0.3);
border: 2px solid rgba(255, 255, 255, 0.1);
}

.search-box:focus-within {
border-color: #0d6efd;
box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
transform: translateY(-2px);
}

.search-box input {
border: none;
background: transparent;
padding: 14px 50px 14px 20px;
font-size: 14px;
border-radius: 14px;
width: 100%;
color: var(--text-color);
}

.search-box input:focus {
outline: none;
box-shadow: none;
}

.search-box .icon {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
color: #6b7280;
font-size: 18px;
}

.right-area {
display: flex;
align-items: center;
gap: 8px;
}

/* Theme Toggle Button - Single Button */
.theme-toggle-btn {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(0, 0, 0, 0.05);
color: var(--text-color);
transition: all 0.3s ease;
text-decoration: none;
position: relative;
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .theme-toggle-btn {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
background: rgba(13, 110, 253, 0.1);
border-color: #0d6efd;
transform: translateY(-2px);
color: #0d6efd;
text-decoration: none;
box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

.theme-toggle-btn i {
font-size: 24px;
font-weight: 500;
opacity: 0.9;
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
line-height: 1;
transition: all 0.3s ease;
position: absolute;
color: currentColor;
}

/* Theme icon visibility based on current theme */
[data-theme="light"] .theme-icon-light {
opacity: 1;
transform: rotate(0deg);
z-index: 2;
}

[data-theme="light"] .theme-icon-dark {
opacity: 0;
transform: rotate(180deg);
z-index: 1;
}

[data-theme="dark"] .theme-icon-light {
opacity: 0;
transform: rotate(-180deg);
z-index: 1;
}

[data-theme="dark"] .theme-icon-dark {
opacity: 1;
transform: rotate(0deg);
z-index: 2;
}

/* Hover durumunda sadece aktif olan iconun scale olmasını sağla */
.theme-toggle-btn:hover .theme-icon-light {
transform: rotate(0deg) scale(1.1);
}

.theme-toggle-btn:hover .theme-icon-dark {
transform: rotate(0deg) scale(1.1);
}

[data-theme="light"] .theme-toggle-btn:hover .theme-icon-light {
transform: rotate(0deg) scale(1.1);
}

[data-theme="light"] .theme-toggle-btn:hover .theme-icon-dark {
transform: rotate(180deg) scale(1.0);
}

[data-theme="dark"] .theme-toggle-btn:hover .theme-icon-light {
transform: rotate(-180deg) scale(1.0);
}

[data-theme="dark"] .theme-toggle-btn:hover .theme-icon-dark {
transform: rotate(0deg) scale(1.1);
}



/* Header Action Buttons - Ortak stil */
.header-action-btn,
.fp-color-selector .link,
.btn.btn-icon,
.right-link {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(0, 0, 0, 0.05);
color: var(--text-color);
transition: all 0.3s ease;
text-decoration: none;
position: relative;
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .header-action-btn,
[data-theme="dark"] .fp-color-selector .link,
[data-theme="dark"] .btn.btn-icon,
[data-theme="dark"] .right-link {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-action-btn:hover,
.btn.btn-icon:hover,
.right-link:hover {
background: rgba(13, 110, 253, 0.1);
border-color: #0d6efd;
transform: translateY(-2px);
color: #0d6efd;
text-decoration: none;
box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

.header-action-btn i,
.btn.btn-icon i,
.right-link i {
font-size: 24px;
transition: all 0.3s ease;
opacity: 1;
color: currentColor;
}

/* Sepet ve bildirim iconlarını tam eşitle */
.btn.btn-icon i,
.right-link i {
font-size: 24px;
font-weight: 500;
opacity: 0.9;
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
line-height: 1;
}

/* Notification iconunu tam 44x44 boyutunda zorla */
.right-link.notification {
width: 44px !important;
height: 44px !important;
min-width: 44px !important;
min-height: 44px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex-shrink: 0 !important;
}

.right-link.notification i {
font-size: 24px !important;
font-weight: 500 !important;
opacity: 0.9 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 24px !important;
height: 24px !important;
line-height: 1 !important;
}

/* Sepet, bildirim ve theme toggle tuşlarını tam eşitle */
.btn.btn-icon,
.right-link,
.theme-toggle-btn {
width: 44px !important;
height: 44px !important;
min-width: 44px;
min-height: 44px;
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex-shrink: 0;
}

.header-action-btn:hover i,
.btn.btn-icon:hover i,
.right-link:hover i {
transform: scale(1.1);
opacity: 1;
}

/* Sepet ve bildirim hover efektlerini eşitle */
.btn.btn-icon:hover i,
.right-link:hover i {
transform: scale(1.15);
opacity: 1;
font-weight: 600;
}

/* Notification hover efektini güçlendir */
.right-link.notification:hover i {
transform: scale(1.15) !important;
opacity: 1 !important;
font-weight: 600 !important;
font-size: 24px !important;
}

/* Badge/Number styling */
.header-action-btn .number,
.btn.btn-icon .number,
.right-link .number {
position: absolute;
top: -6px;
right: -6px;
background: linear-gradient(135deg, #dc3545, #b02a37);
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 600;
border: 2px solid var(--bg-color);
box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
animation: pulse 2s infinite;
}

@keyframes pulse {
0% {
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}
50% {
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.5);
}
100% {
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}
}

.btn.btn-primary {
background: linear-gradient(135deg, #0d6efd, #0056b3);
border: none;
border-radius: 12px;
padding: 10px 20px;
font-weight: 500;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.btn.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.btn.btn-success {
background: linear-gradient(135deg, #198754, #146c43);
border: none;
border-radius: 12px;
padding: 10px 20px;
font-weight: 500;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
}

.btn.btn-success:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(25, 135, 84, 0.3);
}

/* User-Friendly Authentication Buttons - Daire Şeklinde */
.auth-buttons-container {
display: flex;
gap: 12px;
align-items: center;
}

.auth-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 70px;
height: 70px;
border-radius: 50%;
text-decoration: none;
position: relative;
transition: all 0.2s ease;
border: 2px solid;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
}

/* Login Button - Soft Blue */
.auth-btn-login {
border-color: #0d6efd;
color: #0d6efd;
box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.auth-btn-login:hover {
background: #0d6efd;
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
text-decoration: none;
}

/* Register Button - Soft Green */
.auth-btn-register {
border-color: #198754;
color: #198754;
box-shadow: 0 2px 8px rgba(25, 135, 84, 0.15);
}

.auth-btn-register:hover {
background: #198754;
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
text-decoration: none;
}

/* Auth Button Icon */
.auth-btn-icon {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 2px;
transition: all 0.2s ease;
}

.auth-btn-icon i {
font-size: 18px;
transition: all 0.2s ease;
}

/* Auth Button Text */
.auth-btn-text {
font-size: 10px;
font-weight: 500;
text-align: center;
line-height: 1;
transition: all 0.2s ease;
}

.auth-btn:hover .auth-btn-text {
font-weight: 600;
}

/* Dark Theme Support */
[data-theme="dark"] .auth-btn {
background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .auth-btn-login {
box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

[data-theme="dark"] .auth-btn-register {
box-shadow: 0 2px 8px rgba(25, 135, 84, 0.25);
}

/* Desktop Auth Buttons - Ensure original design */
@media (min-width: 769px) {
.auth-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    border: 2px solid;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.auth-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    transition: all 0.2s ease;
}

.auth-btn-icon i {
    font-size: 18px;
    transition: all 0.2s ease;
}

.auth-btn-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    transition: all 0.2s ease;
    display: block;
}

.auth-buttons-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Desktop Auth Button Hover Styles */
.auth-btn-login {
    border-color: #0d6efd;
    color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.auth-btn-login:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
    text-decoration: none;
}

.auth-btn-register {
    border-color: #198754;
    color: #198754;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.15);
}

.auth-btn-register:hover {
    background: #198754;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
    text-decoration: none;
}

.auth-btn:hover .auth-btn-text {
    font-weight: 600;
}
}

/* Mobile Responsive - Auth buttons are now handled by desktop query and mobile nav bar */

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
.auth-btn:hover {
    transform: none;
}

.auth-btn:active {
    transform: scale(0.95);
}

.auth-btn-login:active {
    background: rgba(13, 110, 253, 0.1);
    transform: scale(0.95);
}

.auth-btn-register:active {
    background: rgba(25, 135, 84, 0.1);
    transform: scale(0.95);
}
}

    /* Modern Navbar */
.fp-navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    position: relative;
    z-index: 998;
    margin: 0;
    margin-top: -1px;
}

[data-theme="dark"] .fp-navbar {
background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.95));
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fp-navbar .link {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border-radius: 12px;
color: var(--text-color);
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
position: relative;
}

.fp-navbar .link:hover {
background: rgba(13, 110, 253, 0.1);
color: #0d6efd;
transform: translateY(-2px);
text-decoration: none;
}

.fp-navbar .link .icon-area {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
background: rgba(13, 110, 253, 0.1);
transition: all 0.3s ease;
}

.fp-navbar .link:hover .icon-area {
background: rgba(13, 110, 253, 0.2);
transform: scale(1.1);
}

.fp-navbar .link .icon-area img {
width: 20px;
height: 20px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
.fp-header .grid {
    grid-template-columns: auto auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.logo-area {
    order: 1;
}

.mobile-actions-area {
    order: 2;
    justify-self: start;
}

.search {
    order: 4;
    max-width: 100%;
    grid-column: 1 / -1;
}

.right-area {
    order: 3;
    justify-content: flex-end;
    gap: 12px;
}

.welcome-badge span {
    display: none;
}

.welcome-badge {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
}

/* Mobile header buttons - increase touch targets */
.header-action-btn,
.theme-toggle-btn,
.btn.btn-icon,
.right-link {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
}

.header-action-btn i,
.theme-toggle-btn i,
.btn.btn-icon i,
.right-link i {
    font-size: 26px !important;
    width: 26px !important;
    height: 26px !important;
}

/* Mobile logo area */
.logo-area {
    gap: 8px;
}

.logo-area .logo img {
    height: 40px;
    width: auto;
}

.campaign-notification .icon-area {
    width: 32px;
    height: 32px;
}

.campaign-notification .icon-area i {
    font-size: 14px;
}

/* Mobile search box */

.search-box input {
    font-size: 16px;
    padding: 12px 50px 12px 16px;
    height: 48px;
}

.search-box .icon {
    font-size: 20px;
}

/* Mobile balance area */
.balance-area {
    padding: 6px 10px;
    height: 48px;
}

.balance-trigger {
    gap: 4px;
}

.balance-text {
    font-size: 12px;
}

.balance-coin-icon {
    font-size: 14px;
}

.balance-arrow {
    font-size: 14px;
}

/* Mobile user display */
.user-display {
    padding: 6px 10px;
    height: 48px;
}

.user-display img {
    width: 24px !important;
    height: 24px !important;
}

.user-info .username {
    font-size: 12px;
}

.dropdown-arrow {
    font-size: 14px;
}

/* Mobile all categories button */
.btn-all-categories {
    padding: 8px 12px;
    height: 48px;
}

.btn-all-categories .btn-text {
    font-size: 14px;
}

.btn-all-categories i {
    font-size: 18px;
}

/* Mobile dropdown adjustments */
.balance-dropdown {
    left: -250px;
    width: 280px;
    max-width: 90vw;
}

.fp-topnav-dropdown {
    right: -20px;
    min-width: 280px;
    max-width: 90vw;
}

.fp-nav-notification-menu {
    right: -20px;
    min-width: 280px;
    max-width: 90vw;
}

/* Mobile campaign notification tooltip */
.campaign-notification::before {
    font-size: 11px;
    padding: 6px 8px;
    max-width: 200px;
    white-space: normal;
    word-wrap: break-word;
}
}

/* Mobile specific styles for smaller screens */
@media (max-width: 576px) {
.fp-header .container {
    padding: 0 12px;
}

.fp-header .grid {
    gap: 8px;
    grid-template-columns: auto auto 1fr auto;
}

.logo-area {
    order: 1;
}

.mobile-actions-area {
    order: 2;
    justify-self: start;
}

.right-area {
    order: 3;
    justify-self: end;
    gap: 8px;
}

.search {
    order: 4;
    grid-column: 1 / -1;
}

/* Extra small mobile buttons */
.header-action-btn,
.theme-toggle-btn,
.btn.btn-icon,
.right-link {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.header-action-btn i,
.theme-toggle-btn i,
.btn.btn-icon i,
.right-link i {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
}

/* Mobile logo */
.logo-area .logo img {
    height: 36px;
}

.campaign-notification .icon-area {
    width: 28px;
    height: 28px;
}

.campaign-notification .icon-area i {
    font-size: 12px;
}

.search-box input {
    font-size: 14px;
    padding: 10px 45px 10px 14px;
    height: 44px;
}

.search-box .icon {
    font-size: 18px;
    right: 12px;
}

/* Mobile balance area */
.balance-area {
    padding: 6px 8px;
    height: 44px;
}

.balance-text {
    font-size: 11px;
}

.balance-coin-icon {
    font-size: 12px;
}

.balance-arrow {
    font-size: 12px;
}

/* Mobile user display */
.user-display {
    padding: 6px 8px;
    height: 44px;
}

.user-display img {
    width: 20px !important;
    height: 20px !important;
}

.user-info .username {
    font-size: 11px;
}

.dropdown-arrow {
    font-size: 12px;
}

/* Mobile all categories button */
.btn-all-categories {
    padding: 6px 10px;
    height: 44px;
}

.btn-all-categories .btn-text {
    font-size: 13px;
}

.btn-all-categories i {
    font-size: 16px;
}

/* Mobile dropdown adjustments */
.balance-dropdown {
    left: -220px;
    width: 260px;
    max-width: 95vw;
    padding: 16px;
}

.fp-topnav-dropdown {
    right: -10px;
    min-width: 260px;
    max-width: 95vw;
}

.fp-nav-notification-menu {
    right: -10px;
    min-width: 260px;
    max-width: 95vw;
    padding: 12px;
}

/* Mobile campaign notification tooltip */
.campaign-notification::before {
    font-size: 10px;
    padding: 4px 6px;
    max-width: 180px;
    bottom: -35px;
}
}

/* Landscape phone adjustments */
@media (max-width: 768px) and (orientation: landscape) {
.fp-header .grid {
    grid-template-columns: auto auto 1fr auto;
    gap: 16px;
}

.logo-area {
    order: 1;
}

.mobile-actions-area {
    order: 2;
    justify-self: start;
}

.search {
    order: 3;
    grid-column: auto;
}

.right-area {
    order: 4;
}

.btn-all-categories {
    display: none;
}
}

/* Additional mobile improvements */
@media (max-width: 768px) {
/* Prevent zoom on input focus */
.search-box input {
    font-size: 16px !important;
}

/* Better touch targets for notifications */
.fp-nav-notification-menu .fp-nnm-item {
    padding: 16px 12px;
    min-height: 60px;
}

/* Better touch targets for profile dropdown */
.fp-td-link {
    padding: 16px 16px;
    min-height: 50px;
}

/* Better spacing for mobile */
.fp-header {
    padding: 12px 0;
}

.fp-header .container {
    padding: 0 16px;
}

/* Hide desktop auth buttons on mobile - we use mobile nav bar instead */
.auth-buttons-container {
    display: none;
}
}

/* Extra small screens */
@media (max-width: 375px) {
.fp-header .container {
    padding: 0 12px;
}

/* Small mobile header auth buttons are now hidden, only mobile nav bar shows them */
}

/* Touch device specific improvements */
@media (hover: none) and (pointer: coarse) {
/* Improve touch targets */
.theme-toggle-btn,
.btn.btn-icon,
.right-link,
.header-action-btn {
    min-height: 48px;
    min-width: 48px;
}

/* Remove hover states on touch devices */
.theme-toggle-btn:hover,
.btn.btn-icon:hover,
.right-link:hover,
.header-action-btn:hover {
    transform: none;
}

/* Add active states for touch feedback */
.theme-toggle-btn:active,
.btn.btn-icon:active,
.right-link:active,
.header-action-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}

/* Better dropdown positioning on touch */
.balance-dropdown,
.fp-topnav-dropdown,
.fp-nav-notification-menu {
    position: fixed;
    top: auto;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.balance-dropdown.active,
.fp-topnav-dropdown.active,
.fp-nav-notification-menu.show-notification {
    transform: translateX(-50%) translateY(0);
}
}

    /* Notification dropdown modern styling */
.fp-nav-notification-menu {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 400px;
    position: absolute;
    top: 100%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99999;
}

[data-theme="light"] .fp-nav-notification-menu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .fp-nav-notification-menu {
    background: #1a1a1a;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fp-nav-notification-menu.show-notification {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    z-index: 99999 !important;
    display: block !important;
}

.notification-btn {
    position: relative;
}

.notification-btn i {
    font-size: 18px;
}

.no-notifications {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 32px 20px;
    text-align: center;
}

.no-notifications-icon {
    width: 56px;
    height: 56px;
    background: rgba(156, 163, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.no-notifications-icon i {
    color: #9ca3af;
    font-size: 24px;
}

.no-notifications-title {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 6px;
}

.no-notifications-desc {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.4;
}

[data-theme="dark"] .no-notifications-desc {
    color: #666;
}

.fp-nnm-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.fp-nnm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.fp-nnm-item:hover {
    background: rgba(13, 110, 253, 0.05);
    border-color: rgba(13, 110, 253, 0.1);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--text-color);
}

.fp-nnm-item.new {
    background: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
}

.fp-nnm-item-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(13, 110, 253, 0.2);
}

.fp-nnm-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-nnm-item-content {
    flex: 1;
}

.fp-nnm-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

.fp-nnm-item-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 4px;
}

[data-theme="dark"] .fp-nnm-item-text {
    color: #888;
}

.fp-nnm-item-date {
    font-size: 11px;
    color: #9ca3af;
    opacity: 0.8;
}

[data-theme="dark"] .fp-nnm-item-date {
    color: #666;
}

.fp-nnm-link {
    display: block;
    text-align: center;
    padding: 10px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 8px;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

    .fp-nnm-link:hover {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    text-decoration: none;
}

/* Profile dropdown menu links */
.fp-dropdown-menu {
    padding: 8px 0;
}

.fp-td-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
    border: 1px solid transparent;
}

.fp-td-link:hover {
    background: rgba(13, 110, 253, 0.05);
    border-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    text-decoration: none;
    transform: translateX(4px);
}

.fp-td-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.fp-td-link.logout-link {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.2);
    background: rgba(220, 53, 69, 0.05);
}

        .fp-td-link.logout-link:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* All categories button */
.btn-all-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-all-categories:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.btn-all-categories i {
    font-size: 16px;
}

.btn-all-categories .btn-text {
    display: inline-block;
}

/* Mobile Actions Area */
.mobile-actions-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

        .mobile-auth-buttons {
    display: none;
    gap: 6px;
    align-items: center;
}

/* Desktop'ta mobile actions area'yı tamamen gizle */
@media (min-width: 769px) {
    .mobile-actions-area {
        display: none !important;
    }
    
    /* Desktop için orijinal grid yapısını restore et */
    .fp-header .grid {
        grid-template-columns: auto 1fr auto;
        gap: 24px;
        align-items: center;
    }
    
    /* Desktop'ta auth butonlarını göster */
    .auth-buttons-container {
        display: flex !important;
    }
}

        .mobile-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
}

.mobile-auth-login {
    background: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
    color: #0d6efd;
}

.mobile-auth-register {
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.3);
    color: #198754;
}

.mobile-auth-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.mobile-auth-login:hover {
    background: #0d6efd;
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.mobile-auth-register:hover {
    background: #198754;
    color: white;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.mobile-auth-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .mobile-auth-login {
    background: rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.4);
}

[data-theme="dark"] .mobile-auth-register {
    background: rgba(25, 135, 84, 0.15);
    border-color: rgba(25, 135, 84, 0.4);
}

/* Mobile hamburger menu */
@media (max-width: 768px) {
    .btn-all-categories .btn-text {
        display: none;
    }
    
    .btn-all-categories {
        padding: 10px;
        min-width: 40px;
        justify-content: center;
    }

    .mobile-auth-buttons {
        display: flex;
    }

    .mobile-actions-area {
        gap: 10px;
    }

    .mobile-auth-btn {
        height: 44px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .mobile-auth-btn i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .mobile-actions-area {
        gap: 8px;
    }

    .mobile-auth-buttons {
        gap: 6px;
    }

                .mobile-auth-btn {
        height: 40px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .mobile-auth-btn i {
        font-size: 16px;
    }
}

/* Touch device improvements for mobile auth buttons */
@media (hover: none) and (pointer: coarse) {
    .mobile-auth-btn:hover {
        transform: none;
    }
    
    .mobile-auth-btn:active {
        transform: scale(0.95);
    }
    
    .mobile-auth-login:active {
        background: rgba(13, 110, 253, 0.2);
    }
    
    .mobile-auth-register:active {
        background: rgba(25, 135, 84, 0.2);
    }
}

/* Modern Toast Notification Styles */
.modern-toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    min-width: 350px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modern-toast {
    background: white;
    border-radius: 16px;
    padding: 0;
    min-height: 70px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.modern-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.modern-toast-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.modern-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.modern-toast-success .modern-toast-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.modern-toast-error .modern-toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.modern-toast-warning .modern-toast-icon {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
}

.modern-toast-info .modern-toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.modern-toast-text {
    flex: 1;
    min-width: 0;
}

.modern-toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
    line-height: 1.4;
}

.modern-toast-message {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.modern-toast-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: #6b7280;
}

.modern-toast-close:hover {
    background: rgba(107, 114, 128, 0.2);
    color: #374151;
}

.modern-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 0 0 16px 16px;
    width: 100%;
    transition: width 5s linear;
}

.modern-toast-success .modern-toast-progress {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.modern-toast-error .modern-toast-progress {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.modern-toast-warning .modern-toast-progress {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Dark theme toast styles */
[data-theme="dark"] .modern-toast {
    background: #1f2937;
    border: 1px solid #374151;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .modern-toast-title {
    color: #f9fafb;
}

[data-theme="dark"] .modern-toast-message {
    color: #d1d5db;
}

[data-theme="dark"] .modern-toast-close {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
}

[data-theme="dark"] .modern-toast-close:hover {
    background: rgba(156, 163, 175, 0.2);
    color: #d1d5db;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modern-toast-container {
        top: 70px;
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
    }
    
    .modern-toast {
        min-height: 60px;
    }
    
    .modern-toast-content {
        padding: 12px;
    }
    
    .modern-toast-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .modern-toast-title {
        font-size: 13px;
    }
    
    .modern-toast-message {
        font-size: 12px;
    }
}
               .link {
               position: relative;
               display: inline-flex;
               align-items: center;
               }
               .badge {
               position: absolute;
               top: -4px;
               right: -16px;
               background-color: #cf8b1e;
               color: #fff;
               font-size: 10px;
               white-space: nowrap;
               }
               .badge.new {
               background-color: #0d6efd;
               color: #fff;
               }
               /* Bakiye linki için stil */
               .balance-link {
               color: var(--text-color);
               transition: color 0.3s ease;
               }
               .balance-link:hover {
               color: #0d6efd;
               }
            .fp-navbar .link.cekilisler .cekilisler {
            background-image: linear-gradient(-225deg, var(--text-color) 0%, var(--text-color) 25%, #0d6efd 50%, var(--text-color) 75%, var(--text-color) 100%);
            background-size: 200% auto !important;
            background-clip: text !important;
            -webkit-background-clip: text !important;
            color: transparent !important;
            -webkit-text-fill-color: transparent !important;
            animation: textclip 2s linear infinite !important;
            display: flex !important;
            text-decoration: none !important;
            text-align: center;
            }
            .fp-navbar .link.yayincilar .yayincilar {
            background-image: linear-gradient(-225deg, var(--text-color) 0%, var(--text-color) 25%, #3c00ff 50%, var(--text-color) 75%, var(--text-color) 100%);
            background-size: 200% auto !important;
            background-clip: text !important;
            -webkit-background-clip: text !important;
            color: transparent !important;
            -webkit-text-fill-color: transparent !important;
            animation: textclip 2s linear infinite !important;
            display: flex !important;
            text-decoration: none !important;
            text-align: center;
            }

/* Modern Footer CSS Variables */
:root {
    /* Light Theme Colors - Header Uyumlu */
    --footer-bg-primary: #ffffff;
    --footer-bg-secondary: #f8fafc;
    --footer-bg-accent: rgba(59, 130, 246, 0.1);
    --footer-text-primary: #1e293b;
    --footer-text-secondary: #64748b;
    --footer-text-accent: #3b82f6;
    --footer-border: #e2e8f0;
    --footer-shadow: rgba(0, 0, 0, 0.1);
    --footer-card-bg: #ffffff;
    --footer-hover-bg: #f1f5f9;
    --footer-icon-bg: rgba(59, 130, 246, 0.15);
    --footer-gradient: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

[data-theme="light"] {
    /* Light Theme Colors - Header Uyumlu */
    --footer-bg-primary: #ffffff;
    --footer-bg-secondary: #f8fafc;
    --footer-bg-accent: rgba(59, 130, 246, 0.1);
    --footer-text-primary: #1e293b;
    --footer-text-secondary: #64748b;
    --footer-text-accent: #3b82f6;
    --footer-border: #e2e8f0;
    --footer-shadow: rgba(0, 0, 0, 0.1);
    --footer-card-bg: #ffffff;
    --footer-hover-bg: #f1f5f9;
    --footer-icon-bg: rgba(59, 130, 246, 0.15);
    --footer-gradient: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

/* Dark Theme Colors - Header Uyumlu */
[data-theme="dark"], .dark-mode, body.dark-mode {
    --footer-bg-primary: rgba(26, 26, 26, 0.9);
    --footer-bg-secondary: #111111;
    --footer-bg-accent: rgba(96, 165, 250, 0.1);
    --footer-text-primary: #ffffff;
    --footer-text-secondary: #94a3b8;
    --footer-text-accent: #60a5fa;
    --footer-border: #1e293b;
    --footer-shadow: rgba(255, 255, 255, 0.1);
    --footer-card-bg: #111111;
    --footer-hover-bg: #1e293b;
    --footer-icon-bg: rgba(96, 165, 250, 0.15);
    --footer-gradient: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

/* Base Footer Styles */
.modern-footer {
    background: var(--footer-bg-primary);
    color: var(--footer-text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--footer-border);
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--footer-gradient);
}

/* Footer Main Section */
.footer-main {
    padding: 4rem 0 2rem;
    background: var(--footer-bg-primary);
    position: relative;
}

/* Footer Brand Section */
.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 2px 8px var(--footer-shadow));
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--footer-text-primary);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

/* Social Media Icons - Saydam Mavi Arka Plan */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--footer-icon-bg);
    color: var(--footer-text-accent);
    border: 1px solid var(--footer-border);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--footer-text-accent);
    color: white;
    border-color: var(--footer-text-accent);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Footer Sections */
.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--footer-text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 2px;
    background: var(--footer-text-accent);
    border-radius: 1px;
}

/* Footer başlık iconları */
.footer-title-icon {
    margin-right: 0.5rem;
    color: var(--footer-text-accent);
    font-size: 1.1rem;
}

/* Popüler Ürünler başlığı için özel stil */
.footer-title.products-title {
    text-align: center;
}

.footer-title.products-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 250px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--footer-text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--footer-text-accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--footer-text-accent);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

/* Contact Info - Saydam Mavi İkon Arka Planları */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--footer-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid var(--footer-border);
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: var(--footer-text-accent);
    color: white;
    transform: scale(1.1);
}

.contact-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--footer-text-primary);
    margin: 0 0 0.25rem 0;
}

.contact-content p {
    font-size: 0.85rem;
    color: var(--footer-text-primary);
    margin: 0;
    line-height: 1.4;
}

.contact-content a {
    color: var(--footer-text-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-content a:hover {
    text-decoration: underline;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-card {
    background: var(--footer-card-bg);
    border: 1px solid var(--footer-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--footer-text-primary);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--footer-gradient);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--footer-text-accent);
    box-shadow: 0 10px 30px var(--footer-shadow);
    background: var(--footer-hover-bg);
}

.product-card span {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    position: relative;
    z-index: 1;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--footer-text-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--footer-bg-secondary);
    border-top: 1px solid var(--footer-border);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--footer-text-primary);
    font-size: 0.9rem;
    margin: 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 32px;
    width: auto;
    border-radius: 6px;
    transition: all 0.3s ease;
    filter: grayscale(50%) opacity(0.8);
}

.payment-methods img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Dark Mode için Ödeme Görsellerini Düzenle */
[data-theme="dark"] .payment-methods img,
.dark-mode .payment-methods img,
body.dark-mode .payment-methods img {
    filter: grayscale(50%) opacity(0.8) brightness(0.9);
}

[data-theme="dark"] .payment-methods img:hover,
.dark-mode .payment-methods img:hover,
body.dark-mode .payment-methods img:hover {
    filter: grayscale(0%) opacity(1) brightness(1);
}

/* Floating Elements Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-element {
    animation: float 3s ease-in-out infinite;
}

/* Logo Dark/Light Mode Display */
.dark-logo {
    display: block;
}

.light-logo {
    display: none;
}

[data-theme="dark"] .dark-logo,
.dark-mode .dark-logo,
body.dark-mode .dark-logo {
    display: none;
}

[data-theme="dark"] .light-logo,
.dark-mode .light-logo,
body.dark-mode .light-logo {
    display: block;
}

@media (prefers-color-scheme: dark) {
    :root:not(.light-mode) .dark-logo {
        display: none;
    }
    
    :root:not(.light-mode) .light-logo {
        display: block;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-title {
        margin-top: 2rem;
    }
    
    .footer-brand .footer-title {
        margin-top: 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .footer-social {
        justify-content: center;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
}


/* Instagram Takip Bölümü Stilleri */
.instagram-follow-section {
    padding: 30px 0 30px 0;
    background: transparent;
}

.instagram-follow-card {
    background: var(--footer-card-bg);
    border: 1px solid var(--footer-border);
    border-radius: 12px;
    padding: 15px 25px;
    position: relative;
    box-shadow: 0 4px 15px var(--footer-shadow);
    transition: all 0.3s ease;
}

.instagram-follow-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--footer-shadow);
}

.instagram-follow-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instagram-icon {
    width: 40px;
    height: 40px;
    background: var(--footer-icon-bg);
    border: 1px solid var(--footer-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-accent);
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.instagram-icon:hover {
    background: var(--footer-text-accent);
    color: white;
    transform: scale(1.1);
}

.instagram-text {
    flex: 1;
    color: var(--footer-text-primary);
    font-size: 18px;
    font-weight: 500;
}

.instagram-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instagram-link-badge {
    background: var(--footer-bg-secondary);
    border: 1px solid var(--footer-border);
    border-radius: 15px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--footer-text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.instagram-link-badge i {
    font-size: 12px;
    color: var(--footer-text-accent);
}

.instagram-link-badge:hover {
    background: var(--footer-hover-bg);
    transform: translateY(-1px);
}

.instagram-follow-btn {
    background: var(--footer-bg-secondary);
    color: var(--footer-text-accent);
    border: 1px solid var(--footer-border);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.instagram-follow-btn::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;
}

.instagram-follow-btn:hover::before {
    left: 100%;
}

.instagram-follow-btn:hover {
    background: var(--footer-hover-bg);
    border-color: var(--footer-text-accent);
    color: var(--footer-text-accent);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--footer-shadow);
}

.instagram-follow-btn i {
    font-size: 14px;
}

/* Dark Mode Uyumu */
[data-theme="dark"] .instagram-follow-card,
.dark-mode .instagram-follow-card,
body.dark-mode .instagram-follow-card {
    background: var(--footer-card-bg);
    border-color: var(--footer-border);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .instagram-follow-section {
        padding: 25px 0 25px 0;
    }
    
    .instagram-follow-card {
        padding: 12px 20px;
    }
    
    .instagram-follow-content {
        gap: 12px;
    }
    
    .instagram-text {
        font-size: 16px;
    }
    
    .instagram-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .instagram-action {
        gap: 8px;
    }
    
    .instagram-link-badge {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .instagram-follow-btn {
        padding: 8px 20px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .instagram-follow-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .instagram-text {
        font-size: 14px;
    }
    
    .instagram-action {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .instagram-link-badge {
        order: 2;
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .instagram-link-badge span {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .instagram-follow-btn {
        order: 1;
        padding: 10px 20px;
    }
}

/* Modern Kategori Butonları Güncellemeleri */
.fp-section-keys .fp-section-head {
    background: var(--footer-card-bg);
    border: 1px solid var(--footer-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--footer-shadow);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.fp-section-keys .fp-section-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--footer-text-accent), transparent);
    opacity: 0.5;
}

.fp-section-keys .fp-section-head .nav-pills {
    gap: 8px;
    margin: 0;
}

.fp-spa-nav-link {
    background: var(--footer-bg-secondary);
    border: 1px solid var(--footer-border);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fp-spa-nav-link::after {
    display: none !important;
}

.fp-spa-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.fp-spa-nav-link:hover::before {
    left: 100%;
}

.fp-spa-nav-link:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--footer-text-accent);
}

.fp-spa-nav-link.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

.fp-spa-nav-link .icon-area {
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.fp-spa-nav-link:hover .icon-area {
    background: rgba(255, 255, 255, 0.2);
}

.fp-spa-nav-link.active .icon-area {
    background: rgba(255, 255, 255, 0.2);
}

/* Kategori Renk Güncellemeleri */
.fp-spa-nav-link.active.steam, .fp-spa-nav-link.steam:hover {
    background: rgba(17, 101, 231, 0.15) !important;
    border-color: rgba(17, 101, 231, 0.3) !important;
    color: rgba(17, 101, 231, 1);
    box-shadow: 0 8px 25px rgba(17, 101, 231, 0.2) !important;
}

.fp-spa-nav-link.active.valorant, .fp-spa-nav-link.valorant:hover {
    background: rgba(255, 67, 80, 0.15) !important;
    border-color: rgba(255, 67, 80, 0.3) !important;
    color: rgba(255, 67, 80, 1);
    box-shadow: 0 8px 25px rgba(255, 67, 80, 0.2) !important;
}

.fp-spa-nav-link.active.pubg-mobile, .fp-spa-nav-link.pubg-mobile:hover {
    background: rgba(255, 187, 0, 0.15) !important;
    border-color: rgba(255, 187, 0, 0.3) !important;
    color: rgba(255, 187, 0, 1);
    box-shadow: 0 8px 25px rgba(255, 187, 0, 0.2) !important;
}

.fp-spa-nav-link.active.league-of-legends, .fp-spa-nav-link.league-of-legends:hover {
    background: rgba(255, 161, 0, 0.15) !important;
    border-color: rgba(255, 161, 0, 0.3) !important;
    color: rgba(255, 161, 0, 1);
    box-shadow: 0 8px 25px rgba(255, 161, 0, 0.2) !important;
}

.fp-spa-nav-link.active.fortnite, .fp-spa-nav-link.fortnite:hover {
    background: rgba(71, 172, 226, 0.15) !important;
    border-color: rgba(71, 172, 226, 0.3) !important;
    color: rgba(71, 172, 226, 1);
    box-shadow: 0 8px 25px rgba(71, 172, 226, 0.2) !important;
}

/* Tümü Butonu Modern Stil */
.fp-section-keys .fp-section-head .btn-opacity-primary {
    background: rgba(59, 130, 246, 0.15);
    color: var(--footer-text-accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.fp-section-keys .fp-section-head .btn-opacity-primary::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;
}

.fp-section-keys .fp-section-head .btn-opacity-primary:hover::before {
    left: 100%;
}

.fp-section-keys .fp-section-head .btn-opacity-primary:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.fp-section-keys .fp-section-head .btn-opacity-primary i {
    transition: transform 0.3s ease;
}

.fp-section-keys .fp-section-head .btn-opacity-primary:hover i {
    transform: translateX(3px);
}

/* Dark Mode Uyumu */
[data-theme="dark"] .fp-section-keys .fp-section-head,
.dark-mode .fp-section-keys .fp-section-head,
body.dark-mode .fp-section-keys .fp-section-head {
    background: var(--footer-card-bg);
    border-color: var(--footer-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .fp-section-keys .fp-section-head {
        padding: 15px;
        border-radius: 12px;
    }
    
    .fp-spa-nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .fp-spa-nav-link .icon-area {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
    
    .fp-section-keys .fp-section-head .btn-opacity-primary {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .fp-section-keys .fp-section-head {
        flex-direction: column;
        gap: 15px;
    }
    
    .fp-section-keys .fp-section-head .nav-pills {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .fp-section-keys .fp-section-head .nav-pills li {
        flex: none;
    }
}

@media (max-width: 576px) {
  .fp-product-horizontal {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  /* Üst satır: resim - isim - fiyat */
  .fp-product-horizontal .top-row {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important; /* resim | isim | fiyat */
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .fp-product-horizontal .img {
    max-width: 80px !important;
  }
  .fp-product-horizontal .img img {
    width: 100% !important;
    border-radius: 8px !important;
    display: block !important;
  }

  .fp-product-horizontal .product-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .fp-product-horizontal .price {
    text-align: right !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  /* Alt satır: adet seçici - sepete ekle */
  .fp-product-horizontal .bottom-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .fp-product-horizontal .fp-quantity {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .fp-product-horizontal .btn {
    flex: 1 1 auto !important;
    text-align: center !important;
    padding: 10px !important;
    border-radius: 8px !important;
  }
}

.rainbow-text {
    background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowAnimation 5s linear infinite;
}

@keyframes rainbowAnimation {
    0% {
    background-position: 0% 50%;
    }
    100% {
    background-position: 100% 50%;
    }
}