:root {
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --light-gold: #F5E8C8;
    --dark: #0f0f0f;
    --darker: #0a0a0a;
    --light: #f8f9fa;
    --gray: #2a2a2a;
    --light-gray: #444;
}

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

body {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold);
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.admin-btn {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--dark) !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
}

.admin-btn::after {
    display: none;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.9) 0%,
        rgba(42, 42, 42, 0.7) 50%,
        rgba(15, 15, 15, 0.9) 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--gold), transparent);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--dark);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* Apps Section */
.featured-apps {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #ccc;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.app-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.app-badge.premium {
    background: linear-gradient(135deg, var(--gold), #ffd700);
}

.app-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card:hover .app-image img {
    transform: scale(1.1);
}

.app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover .app-overlay {
    opacity: 1;
}

.app-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    transform: scale(1.1);
    background: var(--light-gold);
}

.app-content {
    padding: 2rem;
    position: relative;
}

.app-icon {
    position: absolute;
    top: -25px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.app-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.app-description {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.app-rating {
    color: var(--gold);
}

.app-size {
    color: #999;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    transition: gap 0.3s ease;
}

.app-link:hover {
    gap: 1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(15, 15, 15, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.feature-card p {
    color: #ccc;
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--gold);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
    color: #999;
}

/* Uygulama Detay Sayfası Stilleri */
.app-detail-section {
    padding: 100px 0 50px;
}

.app-detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.app-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.app-detail-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.app-detail-info {
    padding: 1rem 0;
}

.app-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.app-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.app-developer {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.app-meta-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.meta-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

.app-actions-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-download, .btn-favorite {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--dark);
}

.btn-favorite {
    background: rgba(42, 42, 42, 0.5);
    color: var(--light);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-download:hover, .btn-favorite:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Tab Stilleri */
.detail-tabs {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

.tabs {
    display: flex;
    background: rgba(42, 42, 42, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.tab-link {
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: #ccc;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.tab-link:hover {
    color: var(--gold);
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tab-pane p {
    line-height: 1.8;
    color: #ccc;
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-reviews i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

/* Sözleşme Sayfası Stilleri */
.contracts-section {
    padding: 100px 0 50px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
}

.breadcrumb i {
    font-size: 0.8rem;
}

.contract-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.contract-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contract-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contract-type {
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
}

.contract-date {
    color: #999;
    font-size: 0.9rem;
}

.contract-content {
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
}

.contract-content h1,
.contract-content h2, 
.contract-content h3 {
    color: var(--gold);
    margin: 2rem 0 1rem;
}

.contract-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.contract-content h2 {
    font-size: 1.5rem;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
}

.contract-content h3 {
    font-size: 1.25rem;
}

.contract-content ul, 
.contract-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.contract-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contract-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contract-content strong {
    color: var(--light-gold);
    font-weight: 600;
}

.contract-actions {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* Sözleşme Kartları */
.contracts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contract-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.contract-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contract-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contract-info h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contract-info p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contract-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.contract-link:hover {
    gap: 1rem;
}

/* Apps List Sayfası Stilleri */
.apps-list-section {
    padding: 100px 0 50px;
}

.apps-filter {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 3rem;
}

.filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 1rem;
    align-items: end;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(42, 42, 42, 0.5);
    color: var(--light);
    font-size: 1rem;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

/* Benzer Uygulamalar */
.similar-apps {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* Buton Stilleri */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--dark);
}

.btn-secondary {
    background: var(--gray);
    color: var(--light);
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* No Data Stilleri */
.no-apps, .no-contracts, .no-content {
    text-align: center;
    padding: 3rem;
    color: #999;
    grid-column: 1 / -1;
}

.no-apps i, .no-contracts i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.no-content {
    font-style: italic;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

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

.animate-slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 1s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .app-detail-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .app-detail-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .app-meta-detail {
        grid-template-columns: 1fr 1fr;
    }
    
    .app-actions-detail {
        flex-direction: column;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-link {
        text-align: left;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        border-left: 3px solid transparent;
    }
    
    .tab-link.active {
        border-left-color: var(--gold);
        border-bottom-color: rgba(212, 175, 55, 0.1);
    }
    
    .filter-form {
        grid-template-columns: 1fr;
    }
    
    .contracts-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-meta {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }
    
    .contract-actions {
        flex-direction: column;
    }
}