* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-dark: #121212;
            --accent-gold: #c9a961;
            --bg-cream: #faf8f3;
            --text-primary: #252525;
            --text-secondary: #666666;
            --border-color: #e5e1d8;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background: linear-gradient(135deg, #faf8f3 0%, #f5f2ea 100%);
        }

        .form-container {
            background: rgba(255, 255, 255, 0.98);
            max-width: 900px;
            width: 100%;
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(201, 169, 97, 0.2);
            position: relative;
            animation: slideUp 0.6s ease-out;
            overflow: hidden;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--accent-gold), var(--primary-dark), var(--accent-gold));
        }

        .lucky-draw-badge {
            width: 165px;
            text-align: center;
            position: absolute;
            top: 32px;
            right: -36px;
            background: linear-gradient(135deg, #d4af37, var(--accent-gold));
            color: white;
            padding: 8px 10px;
            transform: rotate(45deg);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
            z-index: 10;
        }

        .form-content {
            display: grid;
            grid-template-columns: 1fr;
        }

        .form-header {
            text-align: center;
            padding: 30px 35px 20px;
            background: linear-gradient(to bottom, #ffffff, #fafaf8);
            border-bottom: 2px solid var(--border-color);
            position: relative;
        }

        .logo-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            animation: fadeIn 0.8s ease-out 0.2s both;
            margin-bottom: 12px;
            position: relative;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .eid-fest-wrap {
            position: absolute;
            top: 0;
            left: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #fefdfb, #f8f5ed);
            padding: 10px;
            border-radius: 4px;
            border: 2px solid var(--accent-gold);
            box-shadow: 0 6px 20px rgba(201, 169, 97, 0.25);
            animation: glow 2s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { 
                box-shadow: 0 6px 20px rgba(201, 169, 97, 0.25);
            }
            50% { 
                box-shadow: 0 8px 25px rgba(201, 169, 97, 0.45);
            }
        }

        .eid-fest-logo {
            filter: drop-shadow(0 3px 10px rgba(201, 169, 97, 0.3));
            transition: transform 0.3s ease;
        }

        .eid-fest-wrap:hover .eid-fest-logo {
            transform: scale(1.05);
        }

        .eid-fest-dates {
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: var(--primary-dark);
            font-family: 'Montserrat', sans-serif;
            text-align: center;
            line-height: 1.4;
            background: linear-gradient(135deg, var(--accent-gold), #d4af37);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
        }

        .eid-fest-dates::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
        }


        .logo {
            max-width: 160px;
            height: 50px;
            object-fit: contain;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
        }

        .lucky-draw-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 24px;
            font-weight: 700;
            color: var(--accent-gold);
            margin-bottom: 6px;
            text-transform: uppercase;
            letter-spacing: 2px;
            animation: fadeIn 0.8s ease-out 0.4s both;
        }

        .lucky-draw-subtitle {
            font-size: 13px;
            color: var(--text-secondary);
            animation: fadeIn 0.8s ease-out 0.6s both;
        }

        .form-body {
            padding: 30px 35px 35px;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 35px;
        }

        .form-row-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-bottom: 35px;
        }

        .form-group {
            position: relative;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
            margin-bottom: 35px;
        }

        label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        label .required {
            color: var(--accent-gold);
            margin-left: 2px;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"] {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid var(--border-color);
            font-size: 14px;
            color: var(--text-primary);
            background-color: #ffffff;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: 'Montserrat', sans-serif;
            border-radius: 2px;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="tel"]:focus {
            outline: none;
            border-color: var(--accent-gold);
            background-color: #fefdfb;
            box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
            transform: translateY(-2px);
        }

        .radio-group {
            display: flex;
            gap: 12px;
            margin-top: 8px;
        }

        .radio-option {
            flex: 1;
            position: relative;
        }

        .radio-option input[type="radio"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .radio-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 14px;
            border: 2px solid var(--border-color);
            background: #ffffff;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            font-size: 13px;
            color: var(--text-secondary);
            border-radius: 2px;
        }

        .radio-option input[type="radio"]:checked + .radio-label {
            border-color: var(--accent-gold);
            background: linear-gradient(135deg, #fefdfb, #faf8f3);
            color: var(--primary-dark);
            box-shadow: 0 4px 12px rgba(201, 169, 97, 0.2);
            transform: translateY(-2px);
        }



        /* Star Rating Styles */
        .star-rating {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 10px;
            padding: 16px;
            background: linear-gradient(135deg, #fefdfb, #faf8f3);
            border: 2px solid var(--border-color);
            border-radius: 2px;
        }

        .star-option {
            position: relative;
        }

        .star-option input[type="radio"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .star-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .star-icon {
            font-size: 32px;
            color: #ddd;
            transition: all 0.3s ease;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }

        .star-option input[type="radio"]:checked + .star-label .star-icon {
            color: var(--accent-gold);
            transform: scale(1.2);
            filter: drop-shadow(0 4px 8px rgba(201, 169, 97, 0.4));
        }

        .star-option:hover .star-label .star-icon {
            color: var(--accent-gold);
            transform: scale(1.1);
        }

        .star-number {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .star-option input[type="radio"]:checked + .star-label .star-number {
            color: var(--accent-gold);
        }

        /* When a star is selected, mark previous stars as selected using JS */
        .star-label.selected .star-icon {
            color: var(--accent-gold);
            transform: scale(1.2);
            filter: drop-shadow(0 4px 8px rgba(201, 169, 97, 0.4));
        }

        .star-label.selected .star-number {
            color: var(--accent-gold);
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, #000000 100%);
            color: #ffffff;
            border: none;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 2px;
        }

        .submit-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;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .form-footer {
            text-align: center;
            margin-top: 20px;
            padding-top: 18px;
            border-top: 1px solid var(--border-color);
            color: var(--text-secondary);
            font-size: 11px;
            letter-spacing: 0.5px;
        }

        /* Success animation */
        @keyframes success {
            0% { transform: scale(0.8); opacity: 0; }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); opacity: 1; }
        }

        .success-message {
            display: none;
            text-align: center;
            padding: 60px 40px;
            animation: success 0.6s ease-out;
        }

        .success-message.show {
            display: block;
        }

        .success-icon {
            width: 90px;
            height: 90px;
            margin: 0 auto 25px;
            background: linear-gradient(135deg, var(--accent-gold), #d4af37);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 45px;
            color: white;
            box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .success-message h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 36px;
            color: var(--primary-dark);
            margin-bottom: 12px;
            font-weight: 700;
        }

        .success-message p {
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1em;
            display: flex;
            align-items: center;
            gap: 3px;
        }
        .success-message p svg{
            width: 18px;
            height: 18px;
        }

        .success-message .lucky-draw-note {
            margin-top: 20px;
            padding: 20px;
            background: linear-gradient(135deg, #fefdfb, #faf8f3);
            border: 2px solid var(--accent-gold);
            border-radius: 2px;
        }

        .success-message .lucky-draw-note p {
            color: var(--accent-gold);
            font-weight: 600;
            font-size: 14px;
        }

        .eid-fest-info {
            margin-top: 30px;
        }

        .eid-fest-banner {
            background: linear-gradient(135deg, #fefdfb, #f8f5ed);
            border: 2px solid var(--accent-gold);
            border-radius: 2px;
            padding: 25px;
            display: flex;
            align-items: center;
            gap: 20px;
            box-shadow: 0 8px 24px rgba(201, 169, 97, 0.2);
            animation: slideIn 0.6s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .eid-fest-success-logo {
            width: 80px;
            height: 80px;
            object-fit: contain;
            filter: drop-shadow(0 4px 12px rgba(201, 169, 97, 0.3));
            flex-shrink: 0;
        }

        .eid-fest-details {
            flex: 1;
            text-align: left;
        }

        .eid-fest-details h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-dark);
            margin-bottom: 10px;
            background: linear-gradient(135deg, var(--accent-gold), #d4af37);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .eid-fest-date {
            font-size: 15px;
            font-weight: 700;
            color: var(--accent-gold);
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .eid-fest-desc {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin: 0;
        }

        .share-section {
            margin-top: 30px;
            text-align: center;
        }

        .share-section p {
            font-size: 13px;
            margin-bottom: 15px;
            color: var(--text-primary);
            font-weight: 500;
        }

        .share-buttons {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .share-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-gold);
            color: white;
            border: none;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 50%;
        }

        .share-btn svg {
            width: 18px;
            height: 18px;
        }

        .share-btn:hover {
            background: #b38b4a;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(201, 169, 97, 0.4);
        }

        @media (max-width: 768px) {
            .lucky-draw-badge {
                font-size: 10px;
                padding: 6px 40px;
                top: 20px;
                right: -40px;
            }

            .form-header {
                padding: 25px 25px 20px;
            }

            .logo-wrapper{
                flex-direction: column-reverse;
            }
            .eid-fest-wrap{
                position: static;
            }

            .logo {
                max-width: 140px;
            }

            .lucky-draw-title {
                font-size: 20px;
            }

            .lucky-draw-subtitle {
                font-size: 12px;
            }

            .form-body {
                padding: 25px 25px 30px;
            }

            .form-row,
            .form-row-2 {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .radio-group {
                flex-direction: column;
            }

            .star-rating {
                gap: 10px;
                padding: 15px;
            }

            .star-icon {
                font-size: 26px;
            }

            .star-number {
                font-size: 11px;
            }
            
            .success-icon{
                width: 60px;
                height: 60px;
                margin: 0 auto 15px;
            }
            .eid-fest-wrap {
                padding: 12px 16px;
                gap: 6px;
            }
            
            .eid-fest-dates {
                font-size: 11px;
            }
            .success-message p{
                justify-content: center;
            }

            .eid-fest-banner {
                flex-direction: column;
                text-align: center;
                gap: 10px;
                padding: 20px;
            }

            .eid-fest-details {
                text-align: center;
            }

            .eid-fest-success-logo {
                width: 60px;
                height: 60px;
            }

            .eid-fest-details h3 {
                font-size: 18px;
            }

            .eid-fest-date {
                font-size: 13px;
            }

            .eid-fest-desc {
                font-size: 12px;
            }
            .share-buttons{
                gap: 10px;
            }
            .share-btn{
                width: 35px;
                height: 35px;
            }
            .share-btn svg{
                width: 16px;
                height: 16px;
            }
        }