/* Bottom Bannsdasder Styles */

/* Bottom Banner Ana Konteyner */
.bottom-fixed {
    width: 720px;
    height: 100px;
    z-index: 999;
    background: var(--star-card-background-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px 25px 0 0;
    position: fixed;
    bottom: 0px;
    left: 50%;
    padding: 0 20px;
    border: 1px solid var(--star-border-color);
    border-bottom: none;
    transform: translateX(-50%) translateY(100%);
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 
        0 -20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUpBanner 1s ease-out 2s forwards;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    isolation: isolate;
}

/* Banner Slide-Up Animasyonu */
@keyframes slideUpBanner {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Banner Arka Plan Gradyenti */
.bottom-fixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-rgb), 0.15) 0%,
        var(--star-card-background-color) 30%,
        var(--star-card-background-color) 70%,
        rgba(var(--primary-rgb), 0.15) 100%
    );
    z-index: -1;
    border-radius: 25px 25px 0 0;
}

/* Banner Hover Efekti */
.bottom-fixed:hover {
    transform: translateX(-50%) translateY(-8px);
    box-shadow: 
        0 -25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(var(--primary-rgb), 0.33),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Logo Bölümü */
.bottom-fixed .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.bottom-fixed .logo-wrapper {
    position: relative;
    width: 100px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.bottom-fixed .logo img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: logoPulse 3s ease-in-out infinite;
    z-index: 2;
}

.bottom-fixed .logo-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bottom-fixed:hover .logo-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.bottom-fixed:hover .logo-shine {
    left: 100%;
}

.bottom-fixed:hover .logo img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Merkez İçerik Bölümü */
.bottom-fixed .center {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.bottom-fixed .center h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--star-onemli-text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { 
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.3),
            0 0 10px rgba(var(--primary-rgb), 0.33);
    }
    100% { 
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(var(--primary-rgb), 0.66);
    }
}

.bottom-fixed .center p {
    font-size: 14px;
    margin: 0;
    color: var(--star-normal-text-color);
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: textSlide 2s ease-in-out infinite alternate;
}

@keyframes textSlide {
    0% { transform: translateX(-3px); }
    100% { transform: translateX(3px); }
}

/* Content Indicator */
.bottom-fixed .content-indicator {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.bottom-fixed .indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.bottom-fixed .indicator-dot.active {
    background: var(--star-button-background-color);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.6);
    transform: scale(1.2);
}

.bottom-fixed .indicator-dot:hover {
    background: rgba(var(--primary-rgb), 0.6);
    transform: scale(1.1);
}

/* Premium Action Button */
.bottom-fixed .action-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 38px;
    width: 140px;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    font-size: 12px;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-rgb), 0.95) 0%,
        rgba(var(--primary-rgb), 1) 50%,
        rgba(var(--primary-rgb), 0.85) 100%
    ) !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 22px;
    margin: 0;
    box-shadow: 
        0 8px 25px rgba(var(--primary-rgb), 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    z-index: 100;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Premium Button Gradient Overlay */
.bottom-fixed .action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.2) 40%,
        rgba(255, 255, 255, 0.1) 60%,
        transparent 100%
    );
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Animated Border Effect - Removed for performance */

/* Premium Button Hover Effects */
.bottom-fixed .action-btn:hover {
    transform: scale(1.03) translateY(-2px) !important;
    box-shadow: 
        0 10px 25px rgba(var(--primary-rgb), 0.5),
        0 6px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.bottom-fixed .action-btn:hover::before {
    opacity: 1;
}

/* Hover after effect removed for performance */

/* Premium Button Active State */
.bottom-fixed .action-btn:active {
    transform: scale(1.02) translateY(-1px) !important;
    box-shadow: 
        0 8px 20px rgba(var(--primary-rgb), 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.1s ease;
}

/* Premium Button Focus State */
.bottom-fixed .action-btn:focus {
    outline: none;
    box-shadow: 
        0 12px 30px rgba(var(--primary-rgb), 0.5),
        0 6px 18px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(var(--primary-rgb), 0.3);
}

/* Premium Button Components */
.bottom-fixed .btn-text {
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.bottom-fixed .btn-icon {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bottom-fixed .btn-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.bottom-fixed .action-btn:hover .btn-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 1.1px;
}

.bottom-fixed .action-btn:hover .btn-icon {
    opacity: 1;
    transform: translateX(3px) scale(1.05);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.bottom-fixed .action-btn:hover .btn-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Kapatma Butonu */
.bottom-fixed .button {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.bottom-fixed .button .close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: closeButtonFloat 3s ease-in-out infinite;
}

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

.bottom-fixed .button .close:hover {
    background: rgba(220, 53, 69, 0.8);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.bottom-fixed .button svg {
    width: 18px;
    height: 18px;
    stroke: var(--star-normal-text-color);
    transition: all 0.3s ease;
}

.bottom-fixed .button .close:hover svg {
    stroke: #fff;
}

/* Loading Shimmer Efekti */
.bottom-fixed::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmerPass 8s ease-in-out infinite;
    pointer-events: none;
    border-radius: 25px 25px 0 0;
    z-index: 1;
    overflow: hidden;
}

@keyframes shimmerPass {
    0% { 
        left: -100%; 
        opacity: 0; 
    }
    10%, 90% { 
        opacity: 1; 
    }
    100% { 
        left: 100%; 
        opacity: 0; 
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bottom-fixed {
        width: 95%;
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .bottom-fixed {
        width: 100%;
        height: 90px;
        border-radius: 20px 20px 0 0;
        padding: 0 15px;
    }
    
    .bottom-fixed:hover .logo-wrapper {
        transform: scale(1.08);
        box-shadow: 
            0 12px 35px rgba(var(--primary-rgb), 0.5),
            0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .bottom-fixed .logo {
        width: 120px;
    }

    .bottom-fixed .logo-wrapper {
        width: 75px;
        height: 55px;
        box-shadow: 
            0 8px 25px rgba(var(--primary-rgb), 0.4),
            0 4px 15px rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .bottom-fixed .center {
        padding: 0 15px;
        flex: 1;
        min-width: 0;
        max-width: 50%;
    }

    .bottom-fixed .center h1 {
        font-size: 16px;
        margin-bottom: 2px;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bottom-fixed .center p {
        font-size: 11px;
    }

    .bottom-fixed .content-indicator {
        margin-top: 4px;
    }

    .bottom-fixed .indicator-dot {
        width: 4px;
        height: 4px;
    }

    .bottom-fixed .action-btn {
        height: 35px !important;
        width: 120px !important;
        font-size: 11px !important;
        border-radius: 18px !important;
        margin-top: 30px !important;
    }

    .bottom-fixed .btn-icon {
        width: 16px;
        height: 16px;
        margin-left: 6px;
    }
}

@media (max-width: 480px) {
    .bottom-fixed {
        height: 80px;
        padding: 0 10px;
    }
    
    .bottom-fixed:hover .logo-wrapper {
        transform: scale(1.1);
        box-shadow: 
            0 15px 40px rgba(var(--primary-rgb), 0.6),
            0 8px 25px rgba(0, 0, 0, 0.5);
    }

    .bottom-fixed .logo {
        width: 100px;
    }

    .bottom-fixed .logo-wrapper {
        width: 65px;
        height: 48px;
        box-shadow: 
            0 10px 30px rgba(var(--primary-rgb), 0.5),
            0 5px 20px rgba(0, 0, 0, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }

    .bottom-fixed .center {
        padding: 0 10px;
        flex: 1;
        min-width: 0;
        max-width: 45%;
    }

    .bottom-fixed .center h1 {
        font-size: 14px;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bottom-fixed .center p {
        font-size: 10px;
    }

    .bottom-fixed .action-btn {
        height: 32px !important;
        width: 100px !important;
        font-size: 10px !important;
        border-radius: 16px !important;
    }

    .bottom-fixed .btn-icon {
        width: 14px;
        height: 14px;
        margin-left: 5px;
    }

    .bottom-fixed .button .close {
        width: 28px;
        height: 28px;
    }

    .bottom-fixed .button svg {
        width: 16px;
        height: 16px;
    }
}

/* Banner Gizlenme Animasyonu */
.bottom-fixed.hiding {
    animation: slideDownBanner 0.5s ease-in forwards;
}

@keyframes slideDownBanner {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
}

/* Özel Parçacık Efekti */
.bottom-fixed .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.bottom-fixed .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--star-button-background-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 6s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-20px) translateX(50px);
        opacity: 0;
    }
}
 