@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
    margin: 0;
    padding: 0;
    background-image: url('arkaplan.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    background-color: rgba(13, 17, 23, 0.95);
    font-family: 'Poppins', sans-serif;
}

.content {
    padding: 20px;
    color: white;
    min-height: 100vh;
    margin-top: 160px;
}

section {
    margin: 50px 0;
    padding: 20px;
}

.announcement-bar {
    background-color: #1874cc;
    color: white;
    text-align: center;
    padding: 16px 30px;
    font-size: 14px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    z-index: 1000;
    width: calc(100% - 100px);
    max-width: 1100px;
    font-weight: 500;
    animation: slideDown 0.5s ease;
}

.nav-container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 10px;
    padding: 25px 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 85px;
    z-index: 1000;
    width: calc(100% - 100px);
    max-width: 1100px;
    font-weight: 500;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.logo img {
    width: 25px;
    margin-right: 8px;
}

.pro-badge {
    background-color: #1874cc;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 4px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1874cc;
    transition: width 0.3s ease;
}

.nav-links > a:hover::after {
    width: 100%;
}

.login-btn {
    background-color: #1874cc;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.login-btn:hover {
    transform: scale(1.05);
    background-color: #ffffff;
}

.cart-icon {
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-title {
    text-align: center;
    margin-top: 60px;
}

.main-title h1 {
    font-size: 64px;
    margin: 0;
    font-weight: 600;
    color: white;
    animation: fadeInDown 1s ease;
}

.main-title p {
    color: #8b949e;
    font-size: 18px;
    margin: 10px 0 30px 0;
    animation: fadeInUp 1s ease 0.3s both;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-content: center;
    margin: 30px auto;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1s ease 0.6s both;
}

.social-button {
    background-color: rgba(13, 17, 23, 0.95);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    width: 100%;
    text-align: center;
}

.social-button:hover {
    transform: translateY(-3px);
    background-color: rgba(24, 116, 204, 0.2);
    color: white;
    text-decoration: none;
}

.social-button i {
    font-size: 20px;
}

.rating {
    color: #ffffff;
    font-size: 48px;
    font-weight: 600;
    margin: 40px 0 10px 0;
    text-align: center;
}

.rating-text {
    color: white;
    text-align: center;
    font-size: 16px;
}

.cart-icon i {
    font-size: 14px;
}

.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 30px 0 10px;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-section p {
    font-size: 0.85rem;
    color: #8b949e;
    margin: 0;
    line-height: 1.4;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-section ul li a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: #ffffff;
    background: rgba(24, 116, 204);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer {
        padding: 20px 0 10px;
    }
}

.help-section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 20px auto;
    width: calc(100% - 100px);
    max-width: 1100px;
}

.help-section h2 {
    font-size: 48px;
    color: white;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.help-section p {
    color: white;
    font-size: 18px;
    margin: 0 0 30px 0;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-button {
    background-color: rgba(13, 17, 23, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-button:hover {
    transform: scale(1.05);
    background-color: rgba(13, 17, 23, 0.8);
}

.reviews-section {
    margin: 20px auto;
    width: calc(100% - 100px);
    max-width: 1100px;
}

.reviews-title {
    color: white;
    font-size: 48px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    grid-template-rows: repeat(2, auto);
}

.review-card {
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-time {
    color: #8b949e;
    font-size: 14px;
    float: right;
}

.review-text {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
}

.verified-purchase {
    color: #8b949e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-purchase i {
    color: #ffffff;
}

.see-all-reviews {
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 8px;
    width: fit-content;
    margin: 0 auto;
}

.products-section {
    margin: -500px auto 20px auto;
    width: calc(100% - 100px);
    max-width: 1100px;
}

.products-title {
    color: white;
    font-size: 48px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0 0;
    position: relative;
    overflow: hidden;
}

.product-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(13, 17, 23, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
}

.product-info {
    padding: 15px;
    color: white;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.product-price {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.product-delivery {
    color: #8b949e;
    font-size: 12px;
    margin-top: 5px;
}

.view-all-products {
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 8px;
    width: fit-content;
    margin: 0 auto;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 17, 23, 0.95);
}

::-webkit-scrollbar-thumb {
    background: #1874cc;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #ffffff rgba(13, 17, 23, 0.95);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
    }
    to {
        transform: translate(-50%, 0);
    }
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: none;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.user-btn:hover {
    background-color: rgba(24, 116, 204);
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 6px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.user-dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(24, 116, 204);
}

.dropdown-content .logout-btn {
    color: #1874cc;
    border-top: 1px solid rgba(24, 116, 204);
    margin-top: 8px;
    padding-top: 8px;
}

.dropdown-content .logout-btn:hover {
    background-color: rgba(24, 116, 204, 0.1);

}

/* Header Dropdown Menu */
.nav-links {
    position: relative;
}

.nav-links > a {
    position: relative;
}

.nav-links .dropdown {
    position: relative;
    display: inline-block;
    z-index: 1100;
}

.nav-links .dropdown-content {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.nav-links .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-links .dropdown-content a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links .dropdown-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1874cc;
    transition: width 0.3s ease;
}

.nav-links .dropdown-content a:hover::after {
    width: 100%;
}

.nav-links .dropdown-content a:hover {
    background-color: rgba(24, 116, 204, 0.2);
    color: #1874cc;
    transform: translateX(5px);
}

.nav-links .dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-links .dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Settings Page Styles */
.settings-container {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

.settings-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.settings-menu {
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 8px;
    padding: 15px;
}

.settings-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.settings-menu-item:hover {
    background-color: rgba(24, 116, 204);
    color: #1874cc1874cc;
}

.settings-menu-item.active {
    background-color: rgba(24, 116, 204);
    color: #1874cc;
}

.settings-content {
    flex-grow: 1;
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.settings-tab {
    display: none;
}

.settings-tab.active {
    display: block;
}

.settings-tab h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 24px;
}

.settings-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: white;
    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: #1874cc1874cc;
    outline: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #1874cc;
    color: white;
}

.btn-primary:hover {
    background-color: #ffffff;
}

.alert {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: white;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #8b949e;
    font-size: 14px;
}

.order-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    color: white;
    font-weight: 500;
}

.order-amount {
    color: #1874cc;
    font-weight: 500;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.badge.warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(13, 17, 23, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 10px;

    /* ✅ Eklenen satırlar */
    width: max-content;
    white-space: nowrap;
    max-width: 100vw;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(24, 116, 204, 0.2);
    color: #1874cc;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logout-nav-link {
    color: #1874cc !important;
    font-size: 1.1em;
    padding: 10px 15px;
    transition: color 0.3s !important;
}

.logout-nav-link:hover {
    color: #1874cc !important;
}

/* Dropdown içindeki linkler için çizgiyi kaldır */
.dropdown-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1874cc;
    transition: width 0.3s ease;
}

.dropdown-content a:hover::after {
    width: 100%;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-content a:hover {
    background-color: rgba(24, 116, 204, 0.2);
    color: #1874cc;
}

@media (max-width: 768px) {
    .social-links {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .social-links {
        grid-template-columns: 1fr;
        max-width: 250px;
    }
}

/* Ana sayfa sosyal medya butonları */
.main-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.main-social-button {
    background-color: rgba(13, 17, 23, 0.95);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 180px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-social-button:hover {
    background-color: rgba(24, 116, 204, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    border-color: rgba(24, 116, 204, 0.3);
    box-shadow: 0 6px 12px rgba(24, 116, 204, 0.2);
}

.main-social-button i {
    font-size: 22px;
    width: 24px;
    text-align: center;
}

.main-social-button i.fa-discord { color: #7289da; }
.main-social-button i.fa-youtube { color: #1874cc; }
.main-social-button i.fa-instagram { color: #e1306c; }
.main-social-button i.fa-tiktok { color: #69c9d0; }

.main-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .main-social-links {
        flex-wrap: wrap;
        max-width: 400px;
    }
    
    .main-social-button {
        min-width: calc(50% - 10px);
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .main-social-button {
        min-width: 100%;
    }
    
    .main-social-links {
        gap: 10px;
    }
}

/* Video Sayfası Stilleri */
.videos-content {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    color: #fff;
    margin-top: 180px;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.video-container {
    background: rgba(13, 17, 23, 0.95);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    color: #fff;
    padding: 1rem 0;
}

.video-description h3 {
    margin-bottom: 0.5rem;
    color: #1874cc;
    font-size: 1.2rem;
}

.video-description p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    color: #8b949e;
}