:root {
    --primary-color: #00ff66;
    --secondary-color: #1a1a1a;
    --accent-color: #00cc52;
    --text-color: #ffffff;
    --background-color: #0a0a0a;
    --card-background: #1f1f1f;
    --error-color: #ff4444;
    --success-color: #00cc52;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility - Focus styles */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link for keyboard users */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    z-index: 1001;
    transition: top 0.3s;
}

.skip-to-main:focus {
    top: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 60px;
}

.header {
    background-color: var(--background-color);
    border-bottom: 1px solid rgba(0, 255, 102, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1a1a1a;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.logo {
    color: #ffd700;
    font-size: 1.2em;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeIn 1s ease;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 102, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.calculator-container {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.1);
    max-width: 500px;
    margin: 0 auto;
    animation: slideUp 0.5s ease;
}

.calculator-input {
    margin-bottom: 1.5rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.calculator-input input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(0, 255, 102, 0.2);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.calculator-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.calculator-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.calculator-buttons button {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--primary-color);
}

.calculator-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.calculator-buttons button span {
    position: relative;
    z-index: 2;
}

.calculator-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 102, 0.2);
}

.calculator-buttons button.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.4);
}

.calculator-buttons button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    animation: glow 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px var(--primary-color);
}

@keyframes glow {
    0% { opacity: 0.5; box-shadow: 0 0 5px var(--primary-color); }
    50% { opacity: 1; box-shadow: 0 0 20px var(--primary-color); }
    100% { opacity: 0.5; box-shadow: 0 0 5px var(--primary-color); }
}

.buy-button {
    background-color: var(--accent-color);
    color: white;
}

.sell-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.checkout-button {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.2);
}

.calculator-result {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.pricing-section {
    padding: 4rem 2rem;
    text-align: center;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 0 1 300px;
    padding: 1rem;
}

.pricing-card .card {
    background: rgba(0, 255, 102, 0.1);
    border: 2px solid #00ff66;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pricing-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 102, 0.2);
}

.pricing-card h3 {
    color: #00ff66;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff66;
    margin: 1rem 0;
}

.pricing-card p:last-child {
    color: #888;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .pricing-card {
        flex: 0 1 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.contact-section {
    text-align: center;
    background-color: var(--card-background);
    color: white;
    border-radius: 10px;
    margin: 2rem auto;
    border: 1px solid rgba(0, 255, 102, 0.1);
}

.discord-button {
    display: inline-block;
    background-color: #7289da;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.discord-button:hover {
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        gap: 1rem;
    }

    .nav-links a {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .header {
        height: 50px;
    }

    body {
        padding-top: 50px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

    .logo {
        font-size: 1rem;
    }
}

.payment-methods {
    padding: 4rem 2rem;
    background: var(--card-background);
    border-radius: 10px;
    margin: 2rem auto;
    border: 1px solid rgba(0, 255, 102, 0.1);
}

.payment-methods h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: stretch;
    padding: 1rem;
}

.payment-method {
    text-align: center;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 102, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.payment-method:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.1);
}

.payment-method img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(1) contrast(1.1);
    transition: transform 0.3s ease;
}

.payment-method:hover img {
    transform: scale(1.05);
}

.payment-method p {
    color: var(--text-color);
    font-weight: 500;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.discord-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.discord-profile {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 255, 102, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.discord-profile::before {
    content: 'Lisää minut Discordissa';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 255, 102, 0.95);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 3;
}

.discord-profile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.discord-profile:hover::before {
    opacity: 1;
}

.discord-profile:hover::after {
    opacity: 1;
}

.discord-profile:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 25px rgba(0, 255, 102, 0.2);
}

.discord-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
    padding: 3px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: var(--card-background);
}

.discord-profile:hover img {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.3);
}

.discord-profile h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.discord-profile p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow-border {
    0%, 100% { border-color: rgba(0, 255, 102, 0.1); }
    50% { border-color: rgba(0, 255, 102, 0.3); }
}

.services-section {
    padding: 4rem 2rem;
    background: var(--card-background);
    border-radius: 10px;
    margin: 2rem auto;
    border: 1px solid rgba(0, 255, 102, 0.1);
    animation: fadeIn 0.5s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 102, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 102, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
    position: relative;
}

.service-card ul li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.blog-section {
    padding: 40px 0;
    background: #1a1a1a;
    position: relative;
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

.blog-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 30px;
    touch-action: none;
}

.nav-arrow {
    background: #2a2a2a;
    border: 2px solid #ffd700;
    color: #ffd700;
    font-size: 2em;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-arrow.prev {
    left: -30px;
}

.nav-arrow.next {
    right: -30px;
}

.nav-arrow:hover {
    background: #ffd700;
    color: #1a1a1a;
    opacity: 1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #666;
    color: #666;
    box-shadow: none;
}

.blog-container {
    overflow: hidden;
    width: 900px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.blog-cards {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    margin: 0 auto;
    touch-action: pan-x;
}

.blog-card {
    flex: 0 0 280px;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    height: 160px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 15px;
}

.blog-card h3 {
    color: #ffd700;
    font-size: 1.1em;
    margin: 0 0 10px 0;
}

.blog-date {
    color: #888;
    font-size: 0.9em;
    margin: 0 0 10px 0;
}

.blog-excerpt {
    color: #ddd;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1000;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1a1a1a;
        padding: 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        border-top: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
    }

    .blog-container {
        width: 280px !important;
        margin: 0 auto;
        padding: 0 !important;
        display: flex;
        justify-content: center;
        touch-action: pan-x;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    .blog-navigation {
        padding: 0 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .blog-cards {
        margin: 0 auto;
        display: flex;
        justify-content: flex-start;
    }

    .nav-arrow.prev {
        left: 0;
    }

    .nav-arrow.next {
        right: 0;
    }
}

@media (max-width: 1000px) {
    .blog-container {
        width: 600px;
    }
    .nav-arrow.prev {
        left: -20px;
    }
    .nav-arrow.next {
        right: -20px;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    order: 3;
    margin: 0;
    margin-left: 2rem;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid #00ff66;
    border-radius: 8px;
    color: #00ff66;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.language-btn img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-btn:hover {
    background: rgba(0, 255, 102, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 102, 0.2);
}

.language-btn.active {
    background: #00ff66;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
}

.language-btn.active:hover {
    background: #00ff66;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 102, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin-right: 10px;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: transform 0.3s;
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    bottom: -6px;
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon::before {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
    .nav-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
        order: 4;
        margin-left: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-color);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        border-top: 1px solid rgba(0, 255, 102, 0.1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        order: 2;
    }

    .nav-links.active {
        display: flex;
    }

    .language-switcher {
        order: 3;
        margin: 0;
    }

    .logo-container {
        order: 1;
    }
}

@media (max-width: 480px) {
    .language-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .logo-container {
        font-size: 18px;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }
}

.help-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.success-message {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

/* Backlinks Section */
.backlinks-section {
    padding: 4rem 2rem;
    background: var(--card-background);
    border-radius: 10px;
    margin: 2rem auto;
    border: 1px solid rgba(0, 255, 102, 0.1);
}

.backlinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.backlink-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 102, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.backlink-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.2);
}

.backlink-card img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
}

.backlink-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

.backlink-card p {
    color: var(--text-color);
    text-align: center;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .backlinks-grid {
        grid-template-columns: 1fr;
    }
} 